diff --git a/src/utils/symbindex.pysty3 b/src/utils/symbindex.pysty3 index e0525da..8aefea5 100644 --- a/src/utils/symbindex.pysty3 +++ b/src/utils/symbindex.pysty3 @@ -33,7 +33,6 @@ __HEADER__(Declaring of math symbols with automatic indexing) \bool_new:c { used_#2 } \cs_new_protected:cn { symbol_#2: } { - #4{#5} \bool_if:cF { used_#2 } { \index[#1] @@ -45,6 +44,7 @@ __HEADER__(Declaring of math symbols with automatic indexing) } \bool_gset_true:c { used_#2 } } + #4{#5} } \expandafter\protected\expandafter\gdef\csname#2\endcsname {