Skip to content

Commit

Permalink
Adjustment of commit 07078d9 for manual.six
Browse files Browse the repository at this point in the history
Reintroduce using the attribute 'Subkey' for <Index> as subkey if
not given as element.
  • Loading branch information
frankluebeck committed May 3, 2022
1 parent 7860b55 commit cca1173
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/GAPDoc2Text.gi
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,9 @@ GAPDoc2TextProcs.WHOLEDOCUMENT := function(r, par)
for a in r.index do
if Length(a) > 5 then
Add(r.six, [Concatenation(a[4], " ", a[6]), a[3], a[5]]);
elif Length(a[2]) > 0 then
# subkey given as attribute, no markup
Add(r.six, [Concatenation(a[4], " ", a[2]), a[3], a[5]]);
else
Add(r.six, [a[4], a[3], a[5]]);
fi;
Expand Down

0 comments on commit cca1173

Please sign in to comment.