| Package | Description |
|---|---|
| uk.ac.ed.ph.snuggletex.dombuilding |
Contains handler classes for building DOM tree branches for various commands and environments.
|
| uk.ac.ed.ph.snuggletex.internal |
This package contains the guts of SnuggleTeX; classes here are responsible for the parsing
process, token fixing and DOM/web building.
|
| uk.ac.ed.ph.snuggletex.tokens |
Internal package defining the various types of LaTeX tokens produced by the parsing process.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractCustomXMLElementHandler.buildCustomElement(DOMBuilder builder,
Element parentElement,
ArgumentContainerToken attrsToken,
ArgumentContainerToken namespaceToken,
ArgumentContainerToken qNameToken,
ArgumentContainerToken contentToken) |
protected static int[] |
TabularHandler.computeTableDimensions(ArgumentContainerToken tableContent)
Computes the dimensions of the table by looking at its content.
|
protected void |
SimpleXHTMLContainerBuildingHandler.handleContent(DOMBuilder builder,
Element parentElement,
ArgumentContainerToken contentToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
DOMBuilder.buildMathElement(Element parentElement,
Token token,
ArgumentContainerToken mathContentToken,
boolean isDisplayMath)
Builds a MathML
math element for the given Token token, using contentToken
to provide the content, descending into child Nodes as normal. |
void |
DOMBuilder.buildMathElement(Element parentElement,
Token token,
ArgumentContainerToken mathContentToken,
boolean isDisplayMath,
DOMBuilder.MathContentBuilderCallback mathContentBuilderCallback)
Builds a MathML
math element for the given Token token, using contentToken
to provide the content, using the given DOMBuilder.MathContentBuilderCallback to
supply the content. |
void |
DOMBuilder.MathContentBuilderCallback.buildMathElementContent(Element contentContainerElement,
ArgumentContainerToken mathContentToken,
boolean isAnnotated) |
NodeList |
DOMBuilder.extractNodeListValue(ArgumentContainerToken token) |
String |
DOMBuilder.extractStringValue(ArgumentContainerToken token)
This "converts" the given token to a String by performing
{
DOMBuilder.handleTokens(Element, ArgumentContainerToken, boolean)}
with a fake root element and then extracting the String value of the resulting Text Node(s). |
void |
DOMBuilder.handleMathTokensAsSingleElement(Element parentElement,
ArgumentContainerToken containerToken) |
void |
DOMBuilder.handleTokens(Element parentElement,
ArgumentContainerToken containerToken,
boolean trimWhitespace) |
| Modifier and Type | Field and Description |
|---|---|
static ArgumentContainerToken[] |
ArgumentContainerToken.EMPTY_ARRAY |
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.