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
Protected
stylesExtra styles to be included in the document's stylesheet (added by extensions)
Static
KINDThe kind of document
Static
OPTIONSThe default options for HTMLDocument
Static
ProcessA bit-field for the actions that have been processed
Protected
addAdd 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
Protected
compileFind 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)
Protected
findProtected
findProtected
findCreates 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
Protected
findThe array of document-specific styles
Protected
math
The HTMLDocument class (extends AbstractMathDocument)