| Package | Description |
|---|---|
| uk.ac.ed.ph.snuggletex |
Public API Package - almost all of the classes you will need for normal SnuggleTeX
use are contained in here.
|
| 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.utilities |
Public utility classes, plus some more general but occasionally useful helpers
for dealing with LaTeX.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WebPageOutputOptions
Builds on
XMLStringOutputOptions to add in options for configuring how to build a
web page using the relevant methods in SnuggleSession
(e.g. |
class |
XMLStringOutputOptions
Builds on
DOMOutputOptions to add in options for configuring how to build an
serialized output consisting of an XML (or possibly HTML) String using the relevant methods
in SnuggleSession
(e.g. |
| Modifier and Type | Method and Description |
|---|---|
DOMOutputOptions |
SnuggleEngine.getDefaultDOMOptions()
Deprecated.
|
DOMOutputOptions |
SnuggleEngine.getDefaultDOMOutputOptions()
Gets the default
DOMOutputOptions for this SnuggleEngine, which will not
be null. |
| Modifier and Type | Method and Description |
|---|---|
NodeList |
SnuggleSession.buildDOMSubtree(DOMOutputOptions options)
Convenience method to build a DOM
NodeList representing the converted Tokens. |
boolean |
SnuggleSession.buildDOMSubtree(Element targetRoot,
DOMOutputOptions options)
Builds a DOM sub-tree based on the currently parsed tokens, appending the results as
children of the given target root Element.
|
String |
SnuggleSession.buildXMLString(DOMOutputOptions options)
Deprecated.
|
String |
SnuggleSession.buildXMLString(DOMOutputOptions options,
boolean indent)
Deprecated.
|
Element |
SnuggleSimpleMathRunner.doMathInput(String mathModeInput,
DOMOutputOptions domOutputOptions) |
Document |
DownConvertingPostProcessor.postProcessDOM(Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager) |
Document |
DOMPostProcessor.postProcessDOM(Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager)
Implement this to post-process the raw DOM produced by SnuggleTeX.
|
void |
SnuggleEngine.setDefaultDOMOptions(DOMOutputOptions defaultDOMOptions)
Deprecated.
|
void |
SnuggleEngine.setDefaultDOMOutputOptions(DOMOutputOptions defaultDOMOutputOptions)
Sets the default
DOMOutputOptions for this SnuggleEngine. |
| Modifier and Type | Method and Description |
|---|---|
DOMOutputOptions |
DOMBuilder.getOptions() |
| Constructor and Description |
|---|
DOMBuilder(SessionContext sessionContext,
Element buildRootElement,
DOMOutputOptions options) |
DOMBuildingController(SessionContext sessionContext,
DOMOutputOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static Element |
MessageFormatter.formatErrorAsXML(Document ownerDocument,
DOMOutputOptions options,
InputError error,
boolean fullDetails)
|
Document |
MathMLPostProcessor.postProcessDOM(Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager) |
static Properties |
CSSUtilities.readInlineCSSProperties(DOMOutputOptions options)
Reads in the custom CSS
Properties Object specified by the given
DOMOutputOptions. |
static void |
CSSUtilities.writeStylesheet(DOMOutputOptions options,
OutputStream cssOutputStream)
Writes out the CSS stylesheet specified via the given
DOMOutputOptions Object,
using the default if nothing has been specified, saving the results to the given
OutputStream. |
| Constructor and Description |
|---|
MathMLDownConverter(StylesheetManager stylesheetManager,
DOMOutputOptions options)
Creates a new
MathMLDownConverter which will inline CSS properties if specified by
the given DOMOutputOptions. |
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.