LaTeXML...tructor(3)

πŸ“¦ version 0.8.8, in nixos 26.05, nixpkgs unstable

πŸ¦‹ LaTeXML::Core::Definition::Constructor πŸ¦‹

okay so this is a page from User Contributed Perl Documentation (the manual name, folding it in right here so you're not confused later πŸ’–), all about LaTeXML::Core::Definition::Constructor. yes the header is foreshortened, no we're not gonna worry about it.

✨ NAME ✨

"LaTeXML::Core::Definition::Constructor" β€” Control sequence definitions. that's the whole vibe, bestie.

🌸 DESCRIPTION 🌸

So this class represents control sequences that contribute arbitrary XML fragments to the document tree. like, they just show up and drop XML wherever. main character energy fr fr.

During digestion, a "LaTeXML::Core::Definition::Constuctor" (yes that's how it's spelled in the book, no I will not be fixing it πŸ’€) records the arguments used in the invocation to produce a LaTeXML::Core::Whatsit. The resulting LaTeXML::Core::Whatsit (usually) generates an XML document fragment when absorbed by an instance of LaTeXML::Core::Document. lowkey iconic.

Additionally, a "LaTeXML::Core::Definition::Constructor" may have beforeDigest and afterDigest daemons defined, which are executed for side effect, or for adding additional boxes to the output. side quests, basically 🫢

It extends LaTeXML::Core::Definition.

More documentation needed, but see LaTeXML::Package for the main user access to these. that's the literal note in here β€” not me being shady, they said it themselves 😭

πŸŽ€ More about Constructors πŸŽ€

A constructor has as it's "replacement" a subroutine or a string pattern representing the XML fragment it should generate. cute!

In the case of a string pattern, the pattern is compiled into a subroutine on first usage by the internal class "LaTeXML::Core::Definition::ConstructorCompiler". lazy but make it efficient πŸ’…

Like primitives, constructors may have "beforeDigest" and "afterDigest".


πŸ‘‘ AUTHOR πŸ‘‘

Bruce Miller <bruce.miller@nist.gov> β€” king behavior, honestly.

Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. periodt. no cap, it's literally public domain πŸ¦‹


so yeah, that's the whole page πŸ’œ β€” and this lil tutorial was brought to you by perl v5.42.3, dated 2024-02-26, with the LaTeXML...tructor(3) header/footer flavor living rent free in the background. bye bestie, go read LaTeXML::Package next πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from