| 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.definitions |
Defines built-in commands, environments, accent maps, globals and related concepts.
|
| 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 |
|---|---|
List<FlowToken> |
SnuggleSession.getParsedTokens() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CombinerTargetMatcher.isAllowed(FlowToken target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MathFenceHandler.BracketCombinerTargetMatcher.isAllowed(FlowToken target) |
| Modifier and Type | Field and Description |
|---|---|
List<FlowToken> |
LaTeXTokeniser.ModeState.tokens
Tokens accumulated in this mode
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMBuilder.handleToken(Element parentElement,
FlowToken token)
Creates a single Node from the given token.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMBuildingController.buildDOMSubtree(Element targetRoot,
List<FlowToken> fixedTokens) |
void |
DOMBuilder.buildDOMSubtree(List<FlowToken> fixedTokens)
This is the external entry point used by
SnuggleSession only. |
Document |
WebPageBuilder.buildWebPage(List<FlowToken> fixedTokens) |
String |
WebPageBuilder.buildWebPageString(List<FlowToken> fixedTokens) |
void |
DOMBuilder.handleMathTokensAsSingleElement(Element parentElement,
List<FlowToken> tokens) |
void |
DOMBuilder.handleTokens(Element parentElement,
List<FlowToken> siblingTokens,
boolean trimWhitespace) |
void |
WebPageBuilder.writeWebPage(List<FlowToken> fixedTokens,
Object contentTypeSettable,
OutputStream outputStream,
SnuggleSession.EndOutputAction endOutputOptions)
Creates a web page representing the given (fixed) Tokens, and writes the results to
the given
OutputStream. |
| Modifier and Type | Class and Description |
|---|---|
class |
BraceContainerToken
Represents a literal braced section in the original LaTeX document, i.e. something like
{ ... }. |
class |
CommandToken
This token represents a LaTeX
BuiltinCommand. |
class |
EnvironmentToken
Represents a
BuiltinEnvironment. |
class |
ErrorToken
Special token encapsulating a client error in parsing.
|
class |
MathCharacterToken
Represents a character in math mode.
|
class |
SimpleToken
Represents a "simple" LaTeX token.
|
| Modifier and Type | Method and Description |
|---|---|
List<FlowToken> |
RootToken.getContents() |
List<FlowToken> |
BraceContainerToken.getContents() |
List<FlowToken> |
ArgumentContainerToken.getContents() |
Iterator<FlowToken> |
RootToken.iterator() |
Iterator<FlowToken> |
BraceContainerToken.iterator() |
Iterator<FlowToken> |
ArgumentContainerToken.iterator() |
| Modifier and Type | Method and Description |
|---|---|
static ArgumentContainerToken |
ArgumentContainerToken.createFromSingleToken(LaTeXMode latexMode,
FlowToken content) |
static ArgumentContainerToken |
ArgumentContainerToken.createFromSingleToken(LaTeXMode latexMode,
FlowToken content,
ComputedStyle computedStyle) |
| Modifier and Type | Method and Description |
|---|---|
static ArgumentContainerToken |
ArgumentContainerToken.createFromContiguousTokens(Token parentToken,
LaTeXMode latexMode,
List<? extends FlowToken> contents,
ComputedStyle computedStyle) |
static ArgumentContainerToken |
ArgumentContainerToken.createFromContiguousTokens(Token parentToken,
LaTeXMode latexMode,
List<? extends FlowToken> contents,
int startIndex,
int endIndex,
ComputedStyle computedStyle) |
| Constructor and Description |
|---|
ArgumentContainerToken(FrozenSlice slice,
LaTeXMode latexMode,
List<FlowToken> contents) |
ArgumentContainerToken(FrozenSlice slice,
LaTeXMode latexMode,
List<FlowToken> contents,
ComputedStyle computedStyle) |
BraceContainerToken(FrozenSlice slice,
LaTeXMode latexMode,
List<FlowToken> contents) |
RootToken(WorkingDocument workingDocument,
List<FlowToken> contents) |
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.