symbindex: call symbol lastly to allow for argument catching
This commit is contained in:
parent
698e0290ee
commit
640d447995
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,6 @@ __HEADER__(Declaring of math symbols with automatic indexing)
|
||||||
\bool_new:c { used_#2 }
|
\bool_new:c { used_#2 }
|
||||||
\cs_new_protected:cn { symbol_#2: }
|
\cs_new_protected:cn { symbol_#2: }
|
||||||
{
|
{
|
||||||
#4{#5}
|
|
||||||
\bool_if:cF { used_#2 }
|
\bool_if:cF { used_#2 }
|
||||||
{
|
{
|
||||||
\index[#1]
|
\index[#1]
|
||||||
|
@ -45,6 +44,7 @@ __HEADER__(Declaring of math symbols with automatic indexing)
|
||||||
}
|
}
|
||||||
\bool_gset_true:c { used_#2 }
|
\bool_gset_true:c { used_#2 }
|
||||||
}
|
}
|
||||||
|
#4{#5}
|
||||||
}
|
}
|
||||||
\expandafter\protected\expandafter\gdef\csname#2\endcsname
|
\expandafter\protected\expandafter\gdef\csname#2\endcsname
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue