The HTMLElement node class
The Text node class
The Document class
Protected_The render action promise list
Protected_Promise for the current typeset or conversion action (used to chain the promise-based calls so they don't overlap).
The DOM adaptor for the document
The document managed by this MathDocument
The DomString parser for locating the text in DOM trees
The list of input jax for the document
The list of MathItems for this document
The MathML node factory for the internal MathML representation
The actual options for this document (with user-supplied ones merged in)
The output jax for the document
The bit-field used to tell what steps have been taken on the document (for retries)
The list of render actions
ProtectedstylesExtra styles to be included in the document's stylesheet (added by extensions)
StaticKINDThe kind of document
StaticOPTIONSThe default options for HTMLDocument
StaticProcessA bit-field for the actions that have been processed
ProtectedaddAdd any elements needed for the document
Add styles to be included in the document's stylesheet
The styles to include
Add the stylesheet to the document
ProtectedcompileFind math within the document: Get the list of containers (default is document.body), and for each: For each input jax: Make a new MathList to store the located math If the input jax processes strings: If we haven't already made the string array and corresponding node list, do so Ask the jax to find the math in the string array, and for each one, push it onto the math list Otherwise (the jax processes DOM nodes): Ask the jax to find the math in the container, and for each one, make the result into a MathItem, and push it on the list Merge the new math list into the document's math list (we use merge to maintain a sorted list of MathItems)
ProtectedfindProtectedfindProtectedfindCreates a Location object for a delimiter at the position given by index in the N's string of the array of strings searched for math, recovering the original DOM node where the delimiter was found.
The index of the string in the string array
The position within the N's string that needs to be found
The delimiter for this position
The list of node lists representing the string array
The Location object for the position of the delimiter in the document
ProtectedfindThe array of document-specific styles
Protectedmath
The HTMLDocument class (extends AbstractMathDocument)