Changes

Jump to navigation Jump to search
m
Link to \index command
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
<tt>\setregisterentry</tt> is more structured form of the regular <tt>\{{cmd|index</tt> }} command. With its more complex and robust structure it is suitable for automatic workflows.
When processing the command on Lua end, one has to take care of colons in the <tt>key:1</tt> and <tt>entry:1</tt> parameters by enclosing them inside <tt>["..."]</tt>, which is more robust form of putting key in Lua table, see example bellow.
138

edits

Navigation menu