Skip to content

Commit

Permalink
Fix some GAPDoc Ref types via fixconsistency.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 2, 2023
1 parent bc29a47 commit ee9e451
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion doc/ref/matobj.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Section <Ref Sect="Concepts and Rules for Vector and Matrix Objects"/>,
and do on the other hands support access to &GAP; objects that represent
their rows (which are suitable vector objects).
Matrix objects whose
<Ref Filt="ConstructingFilter" Label="for a matrix object"/> value implies
<Ref Attr="ConstructingFilter" Label="for a matrix object"/> value implies
<Ref Filt="IsRowListMatrix"/> support the operations described in this
section.

Expand Down
18 changes: 9 additions & 9 deletions doc/ref/obsolete.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Here are some examples of such name changes.
</Row>
<Row>
<Item><C>IsLexicographicallyLess</C><Index Key="IsLexicographicallyLess"><C>IsLexicographicallyLess</C></Index></Item>
<Item><Ref Attr="\&lt;"/></Item>
<Item><Ref Oper="\&lt;"/></Item>
</Row>
</Table>

Expand Down Expand Up @@ -219,36 +219,36 @@ to use even in code which is meant to run in older GAP versions.
<HorLine/>
<Row>
<Item><C>OneSM</C><Index Key="OneSM"><C>OneSM</C></Index></Item>
<Item><Ref Func="OneSameMutability"/></Item>
<Item><Ref Oper="OneSameMutability"/></Item>
</Row>
<Row>
<Item><C>InverseSM</C><Index Key="InverseSM"><C>InverseSM</C></Index></Item>
<Item><Ref Func="InverseSameMutability"/></Item>
<Item><Ref Oper="InverseSameMutability"/></Item>
</Row>
<Row>
<Item><C>ZeroSM</C><Index Key="ZeroSM"><C>ZeroSM</C></Index></Item>
<Item><Ref Func="ZeroSameMutability"/></Item>
<Item><Ref Oper="ZeroSameMutability"/></Item>
</Row>
<Row>
<Item><C>AdditiveInverseSM</C><Index Key="AdditiveInverseSM"><C>AdditiveInverseSM</C></Index></Item>
<Item><Ref Func="AdditiveInverseSameMutability"/></Item>
<Item><Ref Oper="AdditiveInverseSameMutability"/></Item>
</Row>

<Row>
<Item><C>OneAttr</C><Index Key="OneAttr"><C>OneAttr</C></Index></Item>
<Item><Ref Func="One"/>, <Ref Func="OneImmutable"/></Item>
<Item><Ref Attr="One"/>, <Ref Attr="OneImmutable"/></Item>
</Row>
<Row>
<Item><C>InverseAttr</C><Index Key="InverseAttr"><C>InverseAttr</C></Index></Item>
<Item><Ref Func="Inverse"/>, <Ref Func="InverseImmutable"/></Item>
<Item><Ref Attr="Inverse"/>, <Ref Attr="InverseImmutable"/></Item>
</Row>
<Row>
<Item><C>ZeroAttr</C><Index Key="ZeroAttr"><C>ZeroAttr</C></Index></Item>
<Item><Ref Func="Zero"/>, <Ref Func="ZeroImmutable"/></Item>
<Item><Ref Attr="Zero"/>, <Ref Attr="ZeroImmutable"/></Item>
</Row>
<Row>
<Item><C>AdditiveInverseAttr</C><Index Key="AdditiveInverseAttr"><C>AdditiveInverseAttr</C></Index></Item>
<Item><Ref Func="AdditiveInverse"/>, <Ref Func="AdditiveInverseImmutable"/></Item>
<Item><Ref Attr="AdditiveInverse"/>, <Ref Attr="AdditiveInverseImmutable"/></Item>
</Row>

</Table>
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/user_pref_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Defaults: <C>[ 10000, true ]</C>.
</Mark>
<Item>
Info messages concerning package loading up to this level are printed. The
level can be changed in a running session using <Ref Func="SetInfoLevel"/>.
level can be changed in a running session using <Ref Oper="SetInfoLevel"/>.

<P/>

Expand Down
4 changes: 2 additions & 2 deletions grp/classic.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ end );
## PGO( <A>e</A>, <A>d</A>, <A>q</A> )
## of GO( <A>e</A>, <A>d</A>, <A>q</A> ),
## modulo the centre
## (see <Ref Oper="GeneralOrthogonalGroup"/>),
## (see <Ref Func="GeneralOrthogonalGroup"/>),
## in the category given by the filter <A>filt</A>.
## <P/>
## If <A>filt</A> is not given it defaults to <Ref Filt="IsPermGroup"/>,
Expand Down Expand Up @@ -1319,7 +1319,7 @@ DECLARE_PROJECTIVE_ORTHOGONAL_GROUPS_OPERATION( "GeneralOrthogonalGroup", "GO",
## PSO( <A>e</A>, <A>d</A>, <A>q</A> )
## of SO( <A>e</A>, <A>d</A>, <A>q</A> ),
## modulo the centre
## (see <Ref Oper="SpecialOrthogonalGroup"/>),
## (see <Ref Func="SpecialOrthogonalGroup"/>),
## in the category given by the filter <A>filt</A>.
## <P/>
## If <A>filt</A> is not given it defaults to <Ref Filt="IsPermGroup"/>,
Expand Down
6 changes: 3 additions & 3 deletions lib/ctblfuns.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ DeclareOperation( "Tensored", [ IsHomogeneousList, IsHomogeneousList ] );
## that is afforded by the tensor product of <M>V</M> and <M>W</M>.
## <P/>
## The result can also be computed as <A>chi</A><C>*</C><A>psi</A>,
## see also <Ref Func="Tensored"/>.
## see also <Ref Oper="Tensored"/>.
## <P/>
## <Example><![CDATA[
## gap> t:= CharacterTable( "A5" );;
Expand Down Expand Up @@ -2475,7 +2475,7 @@ DeclareGlobalFunction( "AntiSymmetricParts" );
## <P/>
## This exterior power is the symmetrization of <A>chi</A> with the
## sign character of the symmetric group of degree <A>n</A>,
## see also <Ref Func="Symmetrizations"/> and
## see also <Ref Oper="Symmetrizations"/> and
## <Ref Func="AntiSymmetricParts"/>.
## <P/>
## <Example><![CDATA[
Expand Down Expand Up @@ -2510,7 +2510,7 @@ DeclareOperation( "ExteriorPower", [ IsClassFunction, IsPosInt ] );
## <P/>
## This symmetric power is the symmetrization of <A>chi</A> with the
## trivial character of the symmetric group of degree <A>n</A>,
## see also <Ref Func="Symmetrizations"/> and
## see also <Ref Oper="Symmetrizations"/> and
## <Ref Func="SymmetricParts"/>.
## <P/>
## <Example><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion lib/ffe.gd
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ DeclareAttribute( "AsInternalFFE", IsFFE);
## <Oper Name="RootFFE" Arg='F, z, k'/>
##
## <Description>
## <Ref Func="RootFFE"/> returns a finite field element
## <Ref Oper="RootFFE"/> returns a finite field element
## <A>r</A> from <A>F</A> whose <A>k</A>-th power is <A>z</A>.
## If no such element exists
## then
Expand Down
2 changes: 1 addition & 1 deletion lib/grppc.gd
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ DeclareAttribute( "InducedPcgsWrtFamilyPcgs", IsGroup );
## If <A>pcgs</A> has a parent pcgs,
## then the result is induced with respect to this parent pcgs.
## <P/>
## <Ref Oper="InducedPcgs"/> is a wrapper function only.
## <Ref Func="InducedPcgs"/> is a wrapper function only.
## Therefore, methods for computing an induced pcgs
## should be installed for the operation <C>InducedPcgsOp</C>.
## </Description>
Expand Down
2 changes: 1 addition & 1 deletion lib/package.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,7 @@ DeclareUserPreference( rec(
description:= [
"Info messages concerning package loading up to this level are printed. \
The level can be changed in a running session using \
<Ref Func=\"SetInfoLevel\"/>."
<Ref Oper=\"SetInfoLevel\"/>."
],
default:= PACKAGE_ERROR,
values:= [ PACKAGE_ERROR, PACKAGE_WARNING, PACKAGE_INFO, PACKAGE_DEBUG ],
Expand Down
2 changes: 1 addition & 1 deletion lib/pcgsspec.gd
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ DeclareAttribute( "LGLength", IsGroup );
## <Ref Attr="InducedPcgsWrtSpecialPcgs"/> will return a pcgs induced by
## <E>a</E> special pcgs (which might differ from the one you had in mind).
## If you need an induced pcgs compatible with a <E>given</E> special pcgs
## use <Ref Oper="InducedPcgs"/> for this special pcgs.
## use <Ref Func="InducedPcgs"/> for this special pcgs.
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down
2 changes: 1 addition & 1 deletion lib/tuples.gd
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ DeclareOperation( "DirectProductElementNC",
## <Ref Func="DirectProductFamily"/> returns <C>fam</C>, a collections
## family of <Ref Filt="IsDirectProductElement"/> objects.
## <P/>
## <C>fam</C> is the <Ref Filt="CollectionsFamily"/> of
## <C>fam</C> is the <Ref Attr="CollectionsFamily"/> of
## <Ref Filt="IsDirectProductElement"/> objects
## whose <C>i</C>-th component is in <C>ElementsFamily(args[i])</C>.
## <P/>
Expand Down

0 comments on commit ee9e451

Please sign in to comment.