1LaTeXML::Core::DefinitiUosne:r:RCeognitsrtiebru(t3e)d PeLralTeDXoMcLu:m:eCnotraet:i:oDnefinition::Register(3)
2
3
4
6 "LaTeXML::Core::Definition::Register" - Control sequence definitions
7 for Registers.
8
10 These are set up as a speciallized primitive with a getter and setter
11 to access and store values in the Stomach. See LaTeXML::Package for
12 the most convenient means to create them.
13
14 It extends LaTeXML::Core::Definition::Primitive.
15
16 Registers generally store some value in the current
17 "LaTeXML::Core::State", but are not required to. Like TeX's registers,
18 when they are digested, they expect an optional "=", and then a value
19 of the appropriate type. Register definitions support these additional
20 methods:
21
23 "$value = $register->valueOf(@args);"
24 Return the value associated with the register, by invoking it's
25 "getter" function. The additional args are used by some registers
26 to index into a set, such as the index to "\count".
27
28 "$register->setValue($value,@args);"
29 Assign a value to the register, by invoking it's "setter" function.
30
32 Bruce Miller <bruce.miller@nist.gov>
33
35 Public domain software, produced as part of work done by the United
36 States Government & not subject to copyright in the US.
37
38
39
40perl v5.32.1 2021-01L-a2T5eXML::Core::Definition::Register(3)