Expand description
An abstraction layer over the converted XML document
Modules§
Structs§
Constants§
- ABSORB_
WARNING_ LOCATOR_ PROPERTY - The source position, recorded at digestion, at which a constructor’s
ABSORB_WARNING_PROPERTYWarning is raised: the gullet’s as the constructor’s arguments are read (coredialect::transfer_common_constructor_options), the position aTboxcarries as its locator. A whatsit’s own locator is set only under--source-map. - ABSORB_
WARNING_ PROPERTY - The box property of a Warning that belongs to the box’s print, not to its digestion (
absorb_warning): raised whenDocument::absorbtakes the box (aTboxor a whatsit) into the document, once per key. A box digested and never absorbed — measured (\settowidth), saved and never used (\sbox), made by a rehearsal or a speculative digestion, or under aDiagnosticsHoldit discards — raises nothing and leaves no key set, so the box the document prints still raises it. An undecodable math glyph’s once-per-font Warning (latexml_engine sect08.rsundecodable_math_slot, OXIDIZED_DESIGN_DIVERGENCES #27). - ABSTRACT_
OPEN_ AT_ END - The bookkeeping attribute on an
ltx:abstractwhose body was still open at\end{document}(sect02.rs\lx@end@open@frontmatter): it swallowed the main matter, so its theorems stay theorems (DG 2026-11-20; OD #1097). - ALIGNED_
LINES_ ATTRIBUTE - The bookkeeping attribute of the capture of an aligning environment (
{center},{flushleft},{flushright}) whose lines the engine sets (OXIDIZED_DESIGN_DIVERGENCES #1200): the whitespaceDocument::open_textdrops there is kept on the piece before it (SPACE_AFTER_ATTRIBUTE). - FIELD_
BOX_ ATTRIBUTE - The bookkeeping attribute (stripped at finalize, as every
_attribute) of the element a TeX box’s constructor opened for its material (Document::mark_field_box). - FIELD_
BOX_ PROPERTY - The whatsit property of a TeX box’s constructor (OXIDIZED_DESIGN #715), set where it is digested while field ink
is recorded (
field_box_whatsit): a constructor whose declared mode isrestricted_horizontaloutside math (\hbox,\mbox,\makebox,\raisebox,\fcolorbox,\scalebox/\resizebox/\rotatebox/\reflectbox, coreConstructor::digest_to_whatsit),\framebox/\fbox(its text branch), an environment whose begin code opens a box group (a minipage,dialect::def_environment).Document::absorbmarks the first element its constructor opens (FIELD_BOX_ATTRIBUTE), before it absorbs anything; one that opens none marks nothing. - FIELD_
FORMULA_ START_ PROPERTY - A formula’s first position in a field, under a rehearsal’s notes only (the engine’s
field_notes): the opening shift’s, its box stamped by the closing one, whose invocation built it. - FIELD_
MARK_ TARGET - The target of the processing instructions marking a run of a frontmatter field’s ink (
FieldRun): construction-time scaffolding, never in the output (the engine’s frontmatter placement removes them; the finalize drops a stray one). - FIELD_
PROV_ PROPERTY - The box property holding the field provenance of the token a box or whatsit was digested from (the stomach sets
it,
invoke_token;Token::prov). - FIELD_
SERIAL_ PROPERTY - The box property holding the serial of the box’s cover in the field ledger
(
field_ledger_push: its own position, the arguments its invocation consumed, a boxless font switch before it). - FIELD_
TAKEN_ PROPERTY - The box property of an alignment’s whatsit holding the field-ledger serials of the row-end markers its body
consumed (a field value’s
\\,field_ink_taken_serials): taken when the document absorbs the whatsit. - NESTED_
LINE_ ATTRIBUTE - The bookkeeping attribute of a line an aligning environment nested in another’s lines aligned, which the outer one
leaves as it is: the inner alignment is in force at the line’s
\par(OXIDIZED_DESIGN_DIVERGENCES #1200). - RAW_
REFSTEP_ MARK - The bookkeeping attribute (dropped at the end, as every
_attribute) on an object a raw counter step numbered: the step’s serial (Document::take_raw_refstep_number, OXIDIZED_DESIGN_DIVERGENCES #813). - SPACE_
AFTER_ ATTRIBUTE - The whitespace that followed a piece of an aligning environment’s line (
ALIGNED_LINES_ATTRIBUTE), the space between it and the next piece once they are one paragraph.
Statics§
Traits§
Functions§
- absorb_
warning - The
ABSORB_WARNING_PROPERTYvalue ofWarning:<category>:<object> <message>, raised once peronce_key: the first absorbed box carrying the key raises it, the key is then set (a global state value, as the text side’s once keys are), and every later one is silent. - can_
auto_ close - can_
contain - can_
contain_ indirect - Can an element with (qualified name)
tagcontain achildtagelement indirectly? That is, by openning some number of autoOpen’able tags? And if so, return the tag to open. - can_
contain_ node - can_
contain_ node_ somehow - can_
contain_ qname - can_
contain_ qsym - can_
contain_ somehow - can_
have_ attribute - can_
node_ have_ attribute - field_
box_ marks_ live - Can a box digested now still matter to a frontmatter field’s print (the field ledger not settled)? The gate of
every digest-time field-box mark, checked before anything else is looked up. It does not wait for a field to be
stamped: a header box may be digested before the document declares its
\title(fms1 round-6 review finding 1);Document::mark_field_boxapplies the stamp at absorb time. - field_
box_ whatsit - Mark
whatsitas a TeX box’s constructor (FIELD_BOX_PROPERTY), while a field’s print can still be lifted. - field_
ink_ taken_ serials - The field-ledger serials of the boxes in
digested(an alignment’s row-end marker, a value’s\\, latexml_enginedigest_alignment_body), pushed ontoserials: the structure the print is set in consumes them, never absorbed. The alignment keeps them on its whatsit (FIELD_TAKEN_PROPERTY), and they are noted taken (field_ledger_take) only whenDocument::absorbabsorbs that whatsit, so the run of ink the row ends may cover them and no other run does; an alignment never shown (in an unused\setbox,\sbox,{lrbox}) takes nothing (OXIDIZED_DESIGN #715; review r4 finding 2, probes s25, s27, s28). - field_
prov_ stamped - The
FIELD_PROV_STAMPEDgate as it stands (to put it back after a rehearsal the document never keeps,FieldLedgerScope). - get_
node_ qname - id_
counters - An element’s
_ID_counter_*attributes, the countersgenerate_idkeeps for the ids minted under it. - is_
capture_ block - The transient box-capture element of
insert_block(ltx:_CaptureBlock_): a completed box, whose close force-closes its descendants. - is_
phantom_ box - Is
nodea phantom’s hint holding its argument (\phantom,\hphantom,\vphantomin math, math_common.rs): a box of its content, not spacing (OXIDIZED_DESIGN_DIVERGENCES #1141)? An empty argument (\phantom{}) makes none: an emptyXMArgbefore the parse, anabsenttoken after it. - is_
spilled_ inkless - Is
nodethe placeholder of a spilled run that prints nothing (prints_nothing)? Content-free to the frontmatter’s cover reading as the run is (titlepage_layout.rsnode_is_content_free), so a late abstract follows a cover holding article’s\newpage\null(\@maketitle) at a small fragment budget as in the eager build (OXIDIZED_DESIGN_DIVERGENCES #903, #1149). - item_
beside_ phantoms - The parsed item of a list (an
XMath, or anXMArgslot) that keeps its edge phantoms beside it (the math parser’sparse_single; OXIDIZED_DESIGN_DIVERGENCES #1141): its one element child but hints, when one of them is a phantom. Content, OpenMath and text read the list as that item; presentation draws the row. Any phantom, not only a box: once parsed, a phantom of spacing holdsabsent(\sqrt{\phantom{\quad}x}), and is still no item. - nested_
splice_ count - How many nested segments the current conversion’s assembly spliced back.
- node_
can_ contain_ sym - note_
field_ prov_ stamped - Note that a field’s stored tokens now carry their provenance (
FIELD_PROV_STAMPED). - reset_
field_ prov_ stamped - Clear the
FIELD_PROV_STAMPEDgate (conversion start). - reset_
field_ provenance - Reset every piece of a conversion’s field-provenance thread state (OXIDIZED_DESIGN #715): the stamped gate, the
field ledger and its settled flag, the pending cover. Run at the start of every conversion (the converter’s
reset_conversion_state, atinitialize_report), whatever the thread converted before: a persistentcortex_workerthread, a streaming restart and the CLI’s supplements convert on one thread without an engine reset, and a ledger settled by the previous document recorded nothing for the next one, which then lifted no print at all (review r4 finding 1). - reset_
spilled_ segment_ count - Reset the spill probe (the streaming driver calls this at conversion start; eager conversions never touch it).
- restore_
field_ prov_ stamped - Put the
FIELD_PROV_STAMPEDgate back asfield_prov_stampedread it. - spilled_
segment_ count - How many segment runs the current conversion has spilled (0 = eager).
- sym_
can_ contain_ somehow - The return type of this method is somewhat artisinal, as we have a three-way semantics:
- sym_
can_ have_ attribute - with_
node_ qname