1LaTeXML::Core::DefinitiUosne:r:CCoonnsttrriubcuttoerdL(a3PT)eerXlMLD:o:cCuomreen:t:aDteifoinnition::Constructor(3)
2
3
4
6 "LaTeXML::Core::Definition::Constructor" - Control sequence
7 definitions.
8
10 This class represents control sequences that contribute arbitrary XML
11 fragments to the document tree. During digestion, a
12 "LaTeXML::Core::Definition::Constuctor" records the arguments used in
13 the invocation to produce a LaTeXML::Core::Whatsit. The resulting
14 LaTeXML::Core::Whatsit (usually) generates an XML document fragment
15 when absorbed by an instance of LaTeXML::Core::Document. Additionally,
16 a "LaTeXML::Core::Definition::Constructor" may have beforeDigest and
17 afterDigest daemons defined which are executed for side effect, or for
18 adding additional boxes to the output.
19
20 It extends LaTeXML::Core::Definition.
21
22 More documentation needed, but see LaTeXML::Package for the main user
23 access to these.
24
25 More about Constructors
26 A constructor has as it's "replacement" a subroutine or a string
27 pattern representing the XML fragment it should generate. In the case
28 of a string pattern, the pattern is compiled into a subroutine on first
29 usage by the internal class
30 "LaTeXML::Core::Definition::ConstructorCompiler". Like primitives,
31 constructors may have "beforeDigest" and "afterDigest".
32
34 Bruce Miller <bruce.miller@nist.gov>
35
37 Public domain software, produced as part of work done by the United
38 States Government & not subject to copyright in the US.
39
40
41
42perl v5.32.1 2021L-a0T1e-X2M5L::Core::Definition::Constructor(3)