LaTeXML::Core::Definition::Register - Control sequence definitions for Registers.
LaTeXML::Core::Definition::Register
These are set up as a speciallized primitive with a getter and setter to access and store values in the Stomach. See LaTeXML::Package for the most convenient means to create them.
It extends LaTeXML::Core::Definition::Primitive.
Registers generally store some value in the current LaTeXML::Core::State, but are not required to. Like TeX's registers, when they are digested, they expect an optional =, and then a value of the appropriate type. Register definitions support these additional methods:
LaTeXML::Core::State
=
$value = $register->valueOf(@args);
Return the value associated with the register, by invoking it's getter function. The additional args are used by some registers to index into a set, such as the index to \count.
getter
\count
$register->setValue($value,@args);
Assign a value to the register, by invoking it's setter function.
setter
Bruce Miller <bruce.miller@nist.gov>
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US.
To install LaTeXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LaTeXML
CPAN shell
perl -MCPAN -e shell install LaTeXML
For more information on module installation, please visit the detailed CPAN module installation guide.