- CharacterCommandHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
This handles simple commands that essentially just stand in for single-character identifiers
that don't have any particular meaning when used in MATH mode (e.g. '$').
- CharacterCommandHandler(String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.CharacterCommandHandler
-
- CharacterSource(WorkingDocument.SourceContext) - Constructor for class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
- CharacterSource(WorkingDocument.SourceContext, WorkingDocument.CharacterSource, int, CharSequence) - Constructor for class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
- charAt(int) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Returns the character at the given index in the input document,
or -1 if the index is not contained within the document.
- charAt(int) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- CIRCUMFLEX - Static variable in interface uk.ac.ed.ph.snuggletex.definitions.AccentMaps
-
- ClassPathURIResolver - Class in uk.ac.ed.ph.snuggletex.utilities
-
- clone() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- clone() - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
- clone() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- closeStyle() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- CMD_CHAR_BACKSLASH - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_FRAC - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_HLINE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_ITEM - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_LEFT - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_LIST_ITEM - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_MROW - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_MSUB_OR_MUNDER - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_MSUBSUP_OR_MUNDEROVER - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_MSUP_OR_MOVER - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_NEWCOMMAND - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_NEWENVIRONMENT - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_OVER - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_PAR - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_PARAGRAPH - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_RENEWCOMMAND - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_RENEWENVIRONMENT - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_RIGHT - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_TABLE_COLUMN - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_TABLE_ROW - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_VERB - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_VERBSTAR - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CMD_XML_ATTR - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CombinerTargetMatcher - Interface in uk.ac.ed.ph.snuggletex.definitions
-
- Command - Interface in uk.ac.ed.ph.snuggletex.definitions
-
Base interface for LaTeX commands, i.e. things entered in the form \\command.
- CommandHandler - Interface in uk.ac.ed.ph.snuggletex.dombuilding
-
Defines how a
BuiltinCommand should append children to the outgoing
DOM tree.
- CommandLineRunner - Class in uk.ac.ed.ph.snuggletex.samples
-
Trivial command line interface for running SnuggleTeX on a number of inputs files (or STDIN),
supporting most of the XML- and web-based output options.
- CommandLineRunner(String[]) - Constructor for class uk.ac.ed.ph.snuggletex.samples.CommandLineRunner
-
- CommandOrEnvironment - Interface in uk.ac.ed.ph.snuggletex.definitions
-
Base interface for LaTeX commands and environments.
- CommandToken - Class in uk.ac.ed.ph.snuggletex.tokens
-
- CommandToken(FrozenSlice, LaTeXMode, BuiltinCommand) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- CommandToken(FrozenSlice, LaTeXMode, BuiltinCommand, ArgumentContainerToken) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- CommandToken(FrozenSlice, LaTeXMode, BuiltinCommand, ArgumentContainerToken, ArgumentContainerToken[]) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- CommandType - Enum in uk.ac.ed.ph.snuggletex.definitions
-
Enumerates different types of LaTeX commands.
- componentIndexOffset - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.Slice
-
- ComputedStyle - Class in uk.ac.ed.ph.snuggletex.definitions
-
This represents the computed or runtime style of a
Token.
- ComputedStyle(ComputedStyle, ComputedStyle.FontFamily, ComputedStyle.FontSize) - Constructor for class uk.ac.ed.ph.snuggletex.definitions.ComputedStyle
-
- computedStyle - Variable in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- ComputedStyle.FontFamily - Enum in uk.ac.ed.ph.snuggletex.definitions
-
TeX "Font Family"
- ComputedStyle.FontSize - Enum in uk.ac.ed.ph.snuggletex.definitions
-
TeX Font Size
- computeLastTokenEndIndex() - Method in class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.ModeState
-
Gets the end index of the
FrozenSlice corresponding to the last
Token
recorded, returning the start position if nothing has been recorded.
- computeTableDimensions(ArgumentContainerToken) - Static method in class uk.ac.ed.ph.snuggletex.dombuilding.TabularHandler
-
Computes the dimensions of the table by looking at its content.
- concat(E[], E[], Class<E>) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectUtilities
-
- ConstraintUtilities - Class in uk.ac.ed.ph.snuggletex.internal.util
-
Simple utility methods for enforcing various types of data constraints.
- ConstraintUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.internal.util.ConstraintUtilities
-
- context - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
Contextual information about where this data came from
- convertExplicitFencesToMfenced(Document) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Converts explicit fences generated by SnuggleTeX back to mfenced.
- convertLaTeXSize(DOMBuilder, Element, Token) - Method in class uk.ac.ed.ph.snuggletex.dombuilding.HSpaceHandler
-
- convertMfencedToExplicitFences(Document) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Replaces every deprecated MathML mfenced element in the supplied document with
its explicit mrow/mo equivalent.
- CORE_ERROR_MESSAGES_PROPERTIES_BASENAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CORE_MATH_CHARACTER_DEFS_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- CORE_PACKAGE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
Name of the core package
- CoreErrorCode - Enum in uk.ac.ed.ph.snuggletex.definitions
-
Enumerates the various types of client-induced errors that can arise when using the
functionality provided by the core SnuggleTeX module.
- CoreErrorGroup - Enum in uk.ac.ed.ph.snuggletex.definitions
-
Defines the groupings for the various types of client-induced errors that can arise
when using the functionality provided by the core SnuggleTeX module.
- CorePackageDefinitions - Class in uk.ac.ed.ph.snuggletex.definitions
-
- CorePackageDefinitions() - Constructor for class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- createEmptyContainer(Token, LaTeXMode, ComputedStyle) - Static method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- createFromContiguousTokens(Token, LaTeXMode, List<? extends FlowToken>, ComputedStyle) - Static method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- createFromContiguousTokens(Token, LaTeXMode, List<? extends FlowToken>, int, int, ComputedStyle) - Static method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- createFromSingleToken(LaTeXMode, FlowToken) - Static method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- createFromSingleToken(LaTeXMode, FlowToken, ComputedStyle) - Static method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- createHTML4Options() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions used to serve up an HTML 4 page, possibly including
MathML and other XML islands.
- createHTML5MathJaxOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for creating an HTML 5 web page with
embedded MathML, using MathJax for cross-browser rendering of the MathML.
- createHTML5MathJaxOptions(String) - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for creating an HTML 5 web page with
embedded MathML, using MathJax for cross-browser rendering of the MathML.
- createHTML5Options() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions used to serve up an HTML 5 page, with MathML and any
other XML islands "adopted" into HTML 4 by having their namespace details removed.
- createIEMathPlayerSpecificOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for deploying solely in Internet
Explorer having the MathPlayer plug-in installed.
- createJAXPTransformerFactory() - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- createLegacyCrossBrowserOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions that would previously have been considered
"cross-browser" in that it works on both Mozilla (i.e.
- createMozillaSpecificOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for deploying solely in a Mozilla-based
browser, such as Firefox, using its native support for MathML.
- createNSAwareDocumentBuilder() - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- createSaxonTransformerFactory() - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- createSession() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- createSession(SessionConfiguration) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- createSession() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSnapshot
-
- createSimpleMathRunner() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- createSimpleMathRunner(SessionConfiguration) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- createSnapshot() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Creates a
SnuggleSnapshot Object holding the current state of this session that can
be later used to recreate a session having exactly the same state.
- createUniversalStylesheetOptions(String) - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Create "Cross-browser" XHTML + MathML suitable for deploying to Mozilla and
Internet Explorer + MathPlayer using a client-side XSLT often called the "Universal StyleSheet".
- createUniversalStylesheetOptions(String, String) - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
- createWebPage(WebPageOutputOptions) - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Deprecated.
- createWebPageOptions(WebPageOutputOptions.WebPageType) - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsTemplates
-
- createWorkingDocument() - Method in class uk.ac.ed.ph.snuggletex.internal.SnuggleInputReader
-
- createXHTMLMathJaxOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for creating an XHTML + MathML web page,
using MathJax for cross-browser rendering of the MathML.
- createXHTMLMathJaxOptions(String) - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions suitable for creating an XHTML + MathML web page,
using MathJax for cross-browser rendering of the MathML.
- createXHTMLOptions() - Static method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptionsBuilder
-
Creates
WebPageOutputOptions used to serve up an XHTML page, possibly including
MathML and other XML islands.
- CSS_PROPERTIES_DOCUMENT_URN - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
URN used in MathML -> XHTML to call up XML containing current CSS Properties
- CSS_PROPERTIES_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- CSSPropertiesURIResolver(Document) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter.CSSPropertiesURIResolver
-
- CSSUtilities - Class in uk.ac.ed.ph.snuggletex.utilities
-
Some handy utility methods for managing SnuggleTeX CSS.
- CSSUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.CSSUtilities
-
- EMPTY_ARRAY - Static variable in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- EMPTY_OBJECT_ARRAY - Static variable in class uk.ac.ed.ph.snuggletex.internal.util.ObjectUtilities
-
Shared instance of an empty array of Objects, which is sometimes useful!
- EMPTY_STRING_ARRAY - Static variable in class uk.ac.ed.ph.snuggletex.internal.util.StringUtilities
-
Shared instance of an empty array of Strings, which is sometimes useful!
- emptyIfNull(String) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.StringUtilities
-
Convenience method that turns a String to an empty String ("") if it is null.
- endIndex - Variable in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- endIndex - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.Slice
-
- ensureClose(Closeable...) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.IOUtilities
-
Ensures that as many of the given
Closeables are closed.
- ensureDirectoryCreated(File) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.IOUtilities
-
Simple method to ensure that a given directory exists.
- ensureFileCreated(File) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.IOUtilities
-
Simple method to ensure that a given File exists.
- EnsureMathHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
This handles the \\ensuremath command.
- EnsureMathHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.EnsureMathHandler
-
- ensureMathMLContainer(Element) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- ensureMathMLDocument(Document) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Checks that the given DOM
Document contains a single MathML
math
Element.
- ensureNotNull(Object) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.ConstraintUtilities
-
- ensureNotNull(Object, String) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.ConstraintUtilities
-
Checks that the given object is non-null, throwing an
IllegalArgumentException if the check fails.
- ensureSharesDocumentWith(FrozenSlice) - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- ENV_BRACKETED - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_DISPLAYMATH - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_ENUMERATE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_ITEMIZE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_MATH - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_STYLE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- ENV_VERBATIM - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- Environment - Interface in uk.ac.ed.ph.snuggletex.definitions
-
Base interface for LaTeX environment, i.e. constructs defined like
\\begin{environment} ...
- EnvironmentHandler - Interface in uk.ac.ed.ph.snuggletex.dombuilding
-
- EnvironmentToken - Class in uk.ac.ed.ph.snuggletex.tokens
-
- EnvironmentToken(FrozenSlice, LaTeXMode, BuiltinEnvironment, ArgumentContainerToken) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- EnvironmentToken(FrozenSlice, LaTeXMode, BuiltinEnvironment, ArgumentContainerToken, ArgumentContainerToken[], ArgumentContainerToken) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- EqnArrayHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the eqnarray* environment.
- EqnArrayHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.EqnArrayHandler
-
- ErrorCode - Interface in uk.ac.ed.ph.snuggletex
-
Interface representing a code for an Error caused by client input.
- ErrorGroup - Interface in uk.ac.ed.ph.snuggletex
-
Interface representing a grouping for a set of related
ErrorCodes.
- ErrorToken - Class in uk.ac.ed.ph.snuggletex.tokens
-
Special token encapsulating a client error in parsing.
- ErrorToken(InputError, LaTeXMode) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.ErrorToken
-
- evaluateStyles(RootToken) - Method in class uk.ac.ed.ph.snuggletex.internal.StyleEvaluator
-
- execute() - Method in class uk.ac.ed.ph.snuggletex.samples.CommandLineRunner
-
- extract() - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Extracts a copy of the current entire content of the input as a
CharSequence
- extract(int, int) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Extracts a copy of a slice of the current entire content of the input as a
CharSequence,
including all characters with startIndex <= index < endIndex.
- extract() - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- extract() - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- extract(int, int) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- EXTRACT_CHILD_NODES_XSL_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- extractAnnotationString(Element, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Extracts the first textual annotation found having the given encoding attribute from
the given MathML math element, if such an annotation is found.
- extractAnnotationXML(Element, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Extracts the first XML-based annotation having the given encoding attribute from the given MathML
math element, if such an annotation is found.
- extractFirstSemanticsBranch(Element) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- extractNodeListValue(ArgumentContainerToken) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- extractSnuggleTeXAnnotation(Element) - Static method in class uk.ac.ed.ph.snuggletex.utilities.SnuggleUtilities
-
Extracts a SnuggleTeX annotation from a MathML math element, if found.
- extractStringValue(ArgumentContainerToken) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- extractTextElementValue(Element) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Trivial convenience method to extract the value of a (text) Element, coping with the
possibility that text child Nodes may not have been coalesced.
- GENERAL_MESSAGE_BUNDLE - Static variable in class uk.ac.ed.ph.snuggletex.utilities.MessageFormatter
-
- GENERAL_MESSAGES_PROPERTIES_BASENAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- getAccentedChar(char) - Method in class uk.ac.ed.ph.snuggletex.definitions.MathVariantMap
-
- getAccentedMathChar(int) - Method in class uk.ac.ed.ph.snuggletex.definitions.AccentMap
-
- getAccentedTextChar(int) - Method in class uk.ac.ed.ph.snuggletex.definitions.AccentMap
-
- getArgumentCount() - Method in interface uk.ac.ed.ph.snuggletex.definitions.CommandOrEnvironment
-
Returns the number of mandatory arguments this command expects, which will be zero
or greater.
- getArgumentCount() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommandOrEnvironment
-
- getArgumentMode(int) - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand
-
- getArgumentMode(int) - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinEnvironment
-
- getArgumentMode(int) - Method in interface uk.ac.ed.ph.snuggletex.definitions.CommandOrEnvironment
-
Returns the LaTeX mode that each argument should be parsed in, starting with the
optional argument (if used) and then each mandatory argument in order.
- getArgumentMode(int) - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommandOrEnvironment
-
User-defined commands and environments stay in the same mode when parsing arguments.
- getArguments() - Method in class uk.ac.ed.ph.snuggletex.InputError
-
Returns any additional arguments providing information about the error.
- getArguments() - Method in class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- getArguments() - Method in class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- getBeginDefinitionSlice() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedEnvironment
-
- getBracketType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation
-
- getBuiltinCommandByTeXName(String) - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getBuiltinCommandByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
Returns the
BuiltinCommand corresponding to LaTeX command called
\texName, or null if this command is not defined.
- getBuiltinCommandByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns the
BuiltinCommand corresponding to LaTeX command called
\texName defined by this package, or null if this command is not defined.
- getBuiltinCommandByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Returns the
BuiltinCommand corresponding to LaTeX command called
\texName, or null if this command is not defined.
- getBuiltinCommandMap() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns a read-only
Map of all
BuiltinCommands defined in this package,
keyed on the name
texName of the command (
\texName).
- getBuiltinEnvironmentByTeXName(String) - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getBuiltinEnvironmentByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
Returns the
BuiltinEnvironment corresponding to LaTeX environment
called
texName, or null if this environment is not defined.
- getBuiltinEnvironmentByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns the
BuiltinEnvironment corresponding to LaTeX environment
called
texName defined by this package, or null if this environment is not defined.
- getBuiltinEnvironmentByTeXName(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Returns the
BuiltinEnvironment corresponding to LaTeX environment
called
texName, or null if this environment is not defined.
- getBuiltinEnvironmentMap() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns a read-only
Map of all
BuiltinEnvironments defined in this package,
keyed on the name of the environment.
- getChars() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getClientSideXSLTStylesheetURLs() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns specified array of relative URLs specifying client-side XSLT stylesheets to be
referenced in the resulting page.
- getCodePoint() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getCombinerTarget() - Method in class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- getCombinerTargetMatcher() - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand
-
- getCommand() - Method in class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- getCompiledStylesheet(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
Obtains the XSLT stylesheet at the given ClassPathURI, using the
StylesheetCache
(if set) to cache stylesheets for efficiency.
- getCompiledStylesheet(String, boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
Obtains the XSLT stylesheet at the given ClassPathURI, using the
StylesheetCache
(if set) to cache stylesheets for efficiency.
- getCompiledStylesheetDriver(List<String>, boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
Obtains a "driver" XSLT stylesheet that imports the stylesheets having the given
ClassPath URIs, using the
StylesheetCache (if set) to cache the resulting driver for efficiency.
- getComputedStyle() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getConfiguration() - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getConfiguration() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
- getContent() - Method in class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- getContentMode() - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinEnvironment
-
- getContentMode() - Method in interface uk.ac.ed.ph.snuggletex.definitions.Environment
-
Specifies which mode to parse content in.
- getContentMode() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedEnvironment
-
Use existing content mode
- getContents() - Method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- getContents() - Method in class uk.ac.ed.ph.snuggletex.tokens.BraceContainerToken
-
- getContents() - Method in class uk.ac.ed.ph.snuggletex.tokens.RootToken
-
- getContentType() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns the MIME type for the resulting page.
- getCSSStylesheetURLs() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns specified array of relative URLs specifying client-side CSS stylesheets to be
referenced in the resulting page.
- getCustomMathJaxUrl() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- getDecimalFormat() - Method in class uk.ac.ed.ph.snuggletex.DecimalFormatNumberMatcher
-
- getDefaultDOMOptions() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getDefaultDOMOutputOptions() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getDefaultSessionConfiguration() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getDefaultXMLStringOutputOptions() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getDefinitionSlice() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommand
-
- getDoctypePublic() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- getDoctypePublic() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- getDoctypePublic() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- getDoctypeSystem() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- getDoctypeSystem() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- getDoctypeSystem() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- getDocument() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
Gets at the underlying DOM Document.
- getDocument() - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- getDOMPostProcessors() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns the array of
DOMPostProcessor that will be called in turn to "fix up" or
modify the raw DOM produced by SnuggleTeX immediately after it has been built.
- getEncoding() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Gets the encoding for the resulting serialized XML.
- getEncoding() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getEncoding() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Gets the encoding for the resulting serialized XML.
- getEncoding() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Gets the encoding for the resulting serialized XML.
- getEndDefinitionSlice() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedEnvironment
-
- getEndIndex() - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- getEnvironment() - Method in class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- getError() - Method in exception uk.ac.ed.ph.snuggletex.internal.SnuggleParseException
-
- getError() - Method in class uk.ac.ed.ph.snuggletex.tokens.ErrorToken
-
- getErrorCode() - Method in class uk.ac.ed.ph.snuggletex.InputError
-
- getErrorCodes(ErrorGroup) - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- getErrorGroup() - Method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorCode
-
- getErrorGroup() - Method in interface uk.ac.ed.ph.snuggletex.ErrorCode
-
- getErrorGroups() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns an unmodifiable view of all of the
ErrorGroups declared for this package.
- getErrorMessage(InputError) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MessageFormatter
-
Constructs an error message for the given
InputError.
- getErrorMessage(ErrorCode, Object...) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MessageFormatter
-
Constructs an error message for the given
ErrorCode and arguments.
- getErrorMessageBundle() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- getErrorOutputOptions() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- getErrors() - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getErrors() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
- getExpansionLimit() - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Gets the maximum depth when expanding out user-defined commands and environments.
- getFile() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getFirstBranch() - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Returns the first branch of the top <semantics/> element.
- getFontFamily() - Method in class uk.ac.ed.ph.snuggletex.definitions.ComputedStyle
-
- getFontFamily() - Method in enum uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
-
- getFontSize() - Method in class uk.ac.ed.ph.snuggletex.definitions.ComputedStyle
-
- getFontSize() - Method in enum uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
-
- getIdentifier() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
Returns the "identifier" for this input.
- getIndent() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- getIndent() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- getIndent() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- getIndentWidth() - Method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectDumper
-
- getIndentWidth() - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- getInlineCSSProperties() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Gets the
Properties Object that will be used to determine inline CSS properties,
if used.
- getInput() - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
- getInput() - Method in class uk.ac.ed.ph.snuggletex.internal.SnuggleInputReader
-
- getInput() - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- getInputCommandName() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getInputStream() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getInstance() - Static method in class uk.ac.ed.ph.snuggletex.utilities.ClassPathURIResolver
-
- getInstance() - Static method in class uk.ac.ed.ph.snuggletex.utilities.DefaultTransformerFactoryChooser
-
- getInstance() - Static method in class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- getInterpretation(InterpretationType) - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getInterpretationMap() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getInterpretationMap() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getLang() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns the language of the resulting page, null if not set.
- getLastErrors() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSimpleMathRunner
-
- getLatexMode() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getLineAndColumn(int) - Method in class uk.ac.ed.ph.snuggletex.internal.SnuggleInputReader
-
- getLinkResolver() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Gets the currently specified "link resolver" which can fix up any XHTML links created by
certain LaTeX inputs.
- getMathCharacter() - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand
-
- getMathCharacter(int) - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getMathCharacter() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathCharacterInterpretation
-
- getMathCharacter(int) - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns the
MathCharacter corresponding to the Unicode character at the given
input codePoint, or null if no
MathCharacter is defined for this codepoint.
- getMathCharacter(int) - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
- getMathCharacter() - Method in class uk.ac.ed.ph.snuggletex.tokens.MathCharacterToken
-
- getMathCharacter() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getMathCharacterCodePoint() - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand
-
- getMathCharacterCodePoint() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getMathCharacterInterpretation() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getMathCharacterMap() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns a read-only
Map of all
MathCharacters defined in this package,
keyed on input Unicode code point.
- getMathElement() - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Returns the containing <math/> element
- getMathMLOperatorContent() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathOperatorInterpretation
-
- getMathMLPrefix() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- getMathPrefRenderer() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- getMathVariantMapStack() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- getMathVariantName() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathVariantMap
-
- getMaxDepth() - Method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectDumper
-
- getMaxIndentLevel() - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- getMfencedAttributeCharacter() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation
-
- getName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorCode
-
- getName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorGroup
-
- getName() - Method in interface uk.ac.ed.ph.snuggletex.ErrorCode
-
- getName() - Method in interface uk.ac.ed.ph.snuggletex.ErrorGroup
-
- getName() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathFunctionInterpretation
-
- getName() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathIdentifierInterpretation
-
- getName() - Method in enum uk.ac.ed.ph.snuggletex.SerializationMethod
-
- getName() - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Returns the name for this package.
- getNegatedCharacter() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathNegatableInterpretation
-
- getNumber() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathNumberInterpretation
-
- getNumberEnd(InputContext, int) - Method in class uk.ac.ed.ph.snuggletex.DecimalFormatNumberMatcher
-
- getNumberEnd(InputContext, int) - Method in interface uk.ac.ed.ph.snuggletex.NumberMatcher
-
Implementations should analyse the given
InputContext starting at the given
index to see if it looks like an (unsigned) number.
- getNumberEnd(InputContext, int) - Method in class uk.ac.ed.ph.snuggletex.SimpleNumberMatcher
-
- getNumberMatcher() - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Gets the
NumberMatcher used to identify numbers in Math mode input.
- getOptionalArgument() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommandOrEnvironment
-
- getOptionalArgument() - Method in class uk.ac.ed.ph.snuggletex.tokens.CommandToken
-
- getOptionalArgument() - Method in class uk.ac.ed.ph.snuggletex.tokens.EnvironmentToken
-
- getOptions() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- getOutputContext() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- getPackage() - Method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorGroup
-
- getPackage() - Static method in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- getPackage() - Method in interface uk.ac.ed.ph.snuggletex.ErrorGroup
-
- getPackages() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getParentStyle() - Method in class uk.ac.ed.ph.snuggletex.definitions.ComputedStyle
-
- getParsedTokens() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
- getReader() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getSaxonTransformerFactory() - Method in class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- getSerializationMethod() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- getSerializationMethod() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- getSerializationMethod() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- getSerializer(String, SerializationSpecifier) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
Obtains a serializer stylesheet based on the stylesheet at the given URI, configured
as per the given
SerializationSpecifier.
- getSessionContext() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- getSessionContext() - Method in class uk.ac.ed.ph.snuggletex.internal.SnuggleInputReader
-
- getSlice() - Method in class uk.ac.ed.ph.snuggletex.InputError
-
- getSlice() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getSnuggleXMLPrefix() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- getStartIndex() - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- getString() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getStylesheet(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.DoNothingStylesheetCache
-
- getStylesheet(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.SimpleStylesheetCache
-
- getStylesheet(String) - Method in interface uk.ac.ed.ph.snuggletex.utilities.StylesheetCache
-
Tries to retrieve an XSLT stylesheet from the cache having the given key.
- getStylesheetCache() - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- getStylesheetManager() - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getStylesheetManager() - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- getStylesheetManager() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
- getStylesheets() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns an array of specified JAXP
Transformers representing XSLT stylesheet(s)
that will be applied to the resulting web page once it has been built but
before it is serialised.
- getSubstitutionDepth(int) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- getSuitableXSLT10TransformerFactory() - Method in class uk.ac.ed.ph.snuggletex.utilities.DefaultTransformerFactoryChooser
-
- getSuitableXSLT10TransformerFactory() - Method in class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- getSuitableXSLT10TransformerFactory() - Method in interface uk.ac.ed.ph.snuggletex.utilities.TransformerFactoryChooser
-
Implementors of this interface should return an XSLT 1.0-compatible
TransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling
DOMSource
and
DOMResults.
- getSuitableXSLT20TransformerFactory() - Method in class uk.ac.ed.ph.snuggletex.utilities.DefaultTransformerFactoryChooser
-
- getSuitableXSLT20TransformerFactory() - Method in class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- getSuitableXSLT20TransformerFactory() - Method in interface uk.ac.ed.ph.snuggletex.utilities.TransformerFactoryChooser
-
Implementors of this interface should return an XSLT 2.0-compatible
TransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling
DOMSource
and
DOMResults.
- getTargetBlockCSSClassName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
- getTargetBlockXHTMLElementName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
- getTargetCSSClassName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontSize
-
- getTargetInlineCSSClassName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
- getTargetInlineXHTMLElementName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
- getTargetMathMLMathVariantName() - Method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
- getTeXName() - Method in interface uk.ac.ed.ph.snuggletex.definitions.CommandOrEnvironment
-
Returns the TeX name for this command or environment.
- getTeXName() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommandOrEnvironment
-
- getTextAnnotations() - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Returns a
Map of <annotation/> elements, keyed on the "encoding" attribute with
the text content as values.
- getTextFlowContext() - Method in class uk.ac.ed.ph.snuggletex.tokens.FlowToken
-
For
Tokens appearing inside TEXT flow, this indicates how this Token should flow against
its siblings.
- getTitle() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns the title for the resulting page, null if not set.
- getTransformerFactory(boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- getTransformerFactoryChooser() - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- getType() - Method in interface uk.ac.ed.ph.snuggletex.semantics.Interpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.Interpretation.MarkerInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathBigLimitOwnerInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathCharacterInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathFunctionInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathIdentifierInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathNegatableInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathNumberInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathOperatorInterpretation
-
- getType() - Method in enum uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- getType() - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- getURI() - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
Returns an (optional) URI for this input.
- getUserCommandMap() - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getUserCommandMap() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Gets the
Map of all user-defined commands created in this session.
- getUserEnvironmentMap() - Method in interface uk.ac.ed.ph.snuggletex.internal.SessionContext
-
- getUserEnvironmentMap() - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Gets the
Map of all user-defined environments created in this session.
- GetVarHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the \\getvar macro.
- GetVarHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.GetVarHandler
-
- getVariable(String, String) - Method in class uk.ac.ed.ph.snuggletex.internal.VariableManager
-
- getVariableManager() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- getVariableMapForNamespace(String) - Method in class uk.ac.ed.ph.snuggletex.internal.VariableManager
-
- getWebPageType() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- getWorkingDocument() - Method in class uk.ac.ed.ph.snuggletex.tokens.RootToken
-
- getXHTMLPrefix() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- getXmlAnnotations() - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Returns a
Map of <annotation-xml/> elements, keyed on the "encoding" attribute with
the
NodeList content as values.
- Globals - Class in uk.ac.ed.ph.snuggletex.definitions
-
Lists various useful (but internal) constants and helper methods.
- Globals() - Constructor for class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- GRAVE - Static variable in interface uk.ac.ed.ph.snuggletex.definitions.AccentMaps
-
- ID - Static variable in class uk.ac.ed.ph.snuggletex.dombuilding.XMLNameOrIdHandler
-
- indexInComponent - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.IndexResolution
-
- indexOf(int, char) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Returns the first index of the given character, starting the search at the given
index.
- indexOf(int, String) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Returns the first index of the given String, starting the search at the given
index.
- indexOf(int, char) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- indexOf(int, String) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- IndexResolution(int, WorkingDocument.Slice, int) - Constructor for class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.IndexResolution
-
- InputContext - Interface in uk.ac.ed.ph.snuggletex
-
Read-only view of the current document being parsed, which will change shape as user-defined
macros and environments are being expanded.
- InputError - Class in uk.ac.ed.ph.snuggletex
-
Encapsulates an error in the LaTeX input, providing information about what the error is and
where it occurred.
- InputError(ErrorCode, FrozenSlice, Object...) - Constructor for class uk.ac.ed.ph.snuggletex.InputError
-
- InsertUnicodeHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the non-standard \\ux command to insert a Unicode character into the output.
- InsertUnicodeHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.InsertUnicodeHandler
-
- interpretableSimpleMathBuilder - Static variable in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- InterpretableSimpleMathHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
This builder calls back directly to the
DOMBuilder to handle mathematical
tokens with certain types of simple semantic interpretations.
- InterpretableSimpleMathHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.InterpretableSimpleMathHandler
-
- Interpretation - Interface in uk.ac.ed.ph.snuggletex.semantics
-
This base interface allows some kind of "semantic interpretation" to be associated with a
particular
Token.
- Interpretation.MarkerInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
- interpretationMap - Variable in class uk.ac.ed.ph.snuggletex.tokens.Token
-
Interpretation(s) of this token, if it can be readily deduced from the input.
- InterpretationType - Enum in uk.ac.ed.ph.snuggletex.semantics
-
Defines the different types of interpretations handled by the
Interpretation class
hierarchy.
- IOUtilities - Class in uk.ac.ed.ph.snuggletex.internal.util
-
A collection of vaguely useful utilities for doing common I/O and File-related tasks.
- IOUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.internal.util.IOUtilities
-
- isAddingMathAnnotations() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- isAddingMathPlayerImport() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns whether to include the necessary processing instruction and object
element required to explicitly trigger the MathPlayer plugin.
- isAddingMathSourceAnnotations() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether the MathML math elements generated by SnuggleTeX should
be annotated with the LaTeX input used to generate them.
- isAddingTitleHeading() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns whether page title should be inserted at the start of the web page
body as an XHTML h1 element.
- isAllowed(FlowToken) - Method in interface uk.ac.ed.ph.snuggletex.definitions.CombinerTargetMatcher
-
- isAllowed(FlowToken) - Method in class uk.ac.ed.ph.snuggletex.dombuilding.MathFenceHandler.BracketCombinerTargetMatcher
-
- isAllowingOptionalArgument() - Method in interface uk.ac.ed.ph.snuggletex.definitions.CommandOrEnvironment
-
Returns whether this command/environment takes an optional argument.
- isAllowingOptionalArgument() - Method in class uk.ac.ed.ph.snuggletex.definitions.UserDefinedCommandOrEnvironment
-
- isApplyingFirefox3SemanticsWorkaround() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether we should wrap "display math" MathML content within an additional
<mstyle displaystyle="true">....
- isBlock() - Method in class uk.ac.ed.ph.snuggletex.dombuilding.AbstractCustomXMLElementHandler
-
Subclasses should fill in to return true if they are building a block element or
false if they are building an inline element.
- isBlock() - Method in class uk.ac.ed.ph.snuggletex.dombuilding.XMLBlockElementHandler
-
- isBlock() - Method in class uk.ac.ed.ph.snuggletex.dombuilding.XMLInlineElementHandler
-
- isBuildingMathMLIsland() - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- isCommand(BuiltinCommand) - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- isCompactingBlankLines() - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- isEnvironment(BuiltinEnvironment) - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- isEquivalentTo(ComputedStyle) - Method in class uk.ac.ed.ph.snuggletex.definitions.ComputedStyle
-
- isFailingFast() - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Returns whether or not the
SnuggleSession will fail immediately on error, or
keep going.
- isHtml5() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- isIncludingStyleElement() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Returns whether to include SnuggleTeX-related CSS as a style element within the
resulting page.
- isIncludingXMLDeclaration() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Gets whether to include an XML declaration on the resulting output.
- isIncludingXMLDeclaration() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Gets whether to include an XML declaration on the resulting output.
- isIncludingXMLDeclaration() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Gets whether to include an XML declaration on the resulting output.
- isIndenting() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Returns whether the resulting XML will be indented or not.
- isIndenting() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Returns whether the resulting XML will be indented or not.
- isIndenting() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Returns whether the resulting XML will be indented or not.
- isInliningCSS() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Get whether CSS styling is being inlined via style attributes or not.
- isInputableTeXName(String) - Static method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
Tests whether the name of a command or environment is "inputable".
- isMathJax() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- isMathMLElement(Node) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method to test whether the given DOM
Node node is a MathML element
having any localName.
- isMathMLElement(Node, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method to test whether the given DOM
Node node is a MathML element
having the given localName.
- isMathVariantMapping() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether we should perform automatic mappings of (safe) Unicode characters when applying
"stylings" like \\mathcal and \\mathbb.
- isNoCharsetInContentTypeHeader() - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- isNullOrEmpty(Object[]) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectUtilities
-
- isNullOrEmpty(String) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.StringUtilities
-
Tests whether the given String is null or empty ("").
- isolateAnnotationXML(Element, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
"Isolates" the XML annotation having the given encoding by producing a copy of the MathML
element with only the given annotation contents as children.
- isolateAnnotationXML(UnwrappedParallelMathMLDOM, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- isolateFirstSemanticsBranch(Element) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
"Isolates" the first <semantics/> branch of an annotation MathML element
by producing a copy of the MathML element with a single child containing
only the first child of the <semantics/> element.
- isolateFirstSemanticsBranch(UnwrappedParallelMathMLDOM) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- isPairingInferencePossible() - Method in class uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation
-
- isParentElement(Element, String, String...) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- isPrefixingMathML() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether MathML elements should be prefixed or not.
- isPrefixingSnuggleXML() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether custom SnuggleTeX XML elements should be prefixed or not.
- isPrefixingXHTML() - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Returns whether XHTML elements should be prefixed or not.
- isRegionWhitespace(int, int) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Tests whether all characters in the document with index satisfying
startIndex <= index < endIndex are whitespace.
- isRegionWhitespace(int, int) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- isSaxonAvailable() - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- isUsingNamedEntities() - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Returns whether to use named entities for certain MathML symbols rather than
numeric character references.
- isUsingNamedEntities() - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Returns whether to use named entities for certain MathML symbols rather than
numeric character references.
- isUsingNamedEntities() - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Returns whether to use named entities for certain MathML symbols rather than
numeric character references.
- isWhitespace() - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- isXMLName(String) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- isXMLNCName(String) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- isXSLT20SupportAvailable() - Method in class uk.ac.ed.ph.snuggletex.utilities.DefaultTransformerFactoryChooser
-
- isXSLT20SupportAvailable() - Method in class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- isXSLT20SupportAvailable() - Method in interface uk.ac.ed.ph.snuggletex.utilities.TransformerFactoryChooser
-
Implementors of this interface should indicate whether support for XSLT 2.0 is available.
- iterator() - Method in class uk.ac.ed.ph.snuggletex.tokens.ArgumentContainerToken
-
- iterator() - Method in class uk.ac.ed.ph.snuggletex.tokens.BraceContainerToken
-
- iterator() - Method in class uk.ac.ed.ph.snuggletex.tokens.RootToken
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.MakeCharacterDefinitions
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.samples.CommandLineRunner
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.samples.MinimalExample
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.samples.WebPageExample
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.samples.XMLStringOutputExample
-
- main(String[]) - Static method in class uk.ac.ed.ph.snuggletex.utilities.CSSUtilities
-
Main method is used by the build process to write out the default CSS stylesheet.
- MakeCharacterDefinitions - Class in uk.ac.ed.ph.snuggletex.internal.util
-
This is used during the build process to create the SnuggleTeX all-math-characters.txt
from the unicode-math-table.tex from the unicode-math LaTeX package.
- MakeCharacterDefinitions() - Constructor for class uk.ac.ed.ph.snuggletex.internal.util.MakeCharacterDefinitions
-
- makeInterpretationMap(Interpretation) - Static method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- makeInterpretationMap(Interpretation...) - Static method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- mapLink(URI, URI) - Method in interface uk.ac.ed.ph.snuggletex.LinkResolver
-
Called when a link URI has been encountered.
- MarkerInterpretation(InterpretationType) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.Interpretation.MarkerInterpretation
-
- matchesAt(int, char) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Tests whether the character at the given index is equal to that specified.
- matchesAt(int, String) - Method in interface uk.ac.ed.ph.snuggletex.InputContext
-
Tests whether the characters at the given index are equal to the String specified.
- matchesAt(WorkingDocument, int) - Method in class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.PatternTerminator
-
- matchesAt(WorkingDocument, int) - Method in class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.StringTerminator
-
- matchesAt(WorkingDocument, int) - Method in interface uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.Terminator
-
Tests whether this Terminator matches the
WorkingDocument at the given index.
- matchesAt(int, char) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- matchesAt(int, String) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- MATH_CHARACTER_ALIASES_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- MATH_CHARACTER_BIG_LIMITS_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- MATH_CHARACTER_BRACKETS_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- MATH_CHARACTER_NEGATIONS_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- MATH_FUNCTION_DEFINITIONS_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.CorePackageDefinitions
-
- MATH_MODE_ONLY - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- MathBigLimitOwnerInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Supplementary marker interpretation to be attached to operators which can "own big limits",
in the sense that they should be rendered in MathML using munder/mover/munderover
rather than msub/msup/msubsup.
- MathBigLimitOwnerInterpretation() - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathBigLimitOwnerInterpretation
-
- MathBracketInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Supplementary interpretation indicating that a certain operator is a MathML bracket.
- MathBracketInterpretation(MathCharacter, MathBracketInterpretation.BracketType, boolean) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation
-
- MathBracketInterpretation.BracketType - Enum in uk.ac.ed.ph.snuggletex.semantics
-
- MathCharacter - Class in uk.ac.ed.ph.snuggletex.definitions
-
Represents a mathematical character.
- MathCharacter(int, String, MathCharacter.MathCharacterType) - Constructor for class uk.ac.ed.ph.snuggletex.definitions.MathCharacter
-
- MathCharacter.MathCharacterType - Enum in uk.ac.ed.ph.snuggletex.definitions
-
- MathCharacterInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Represents a mathematical character
- MathCharacterInterpretation(MathCharacter) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathCharacterInterpretation
-
- MathCharacterToken - Class in uk.ac.ed.ph.snuggletex.tokens
-
Represents a character in math mode.
- MathCharacterToken(FrozenSlice, MathCharacter) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.MathCharacterToken
-
- MathComplexCommandHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles complex Math commands (i.e. ones taking arguments) that map very easily onto
MathML elements where each argument becomes a child element of the resulting MathML
container.
- MathComplexCommandHandler(String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathComplexCommandHandler
-
- MathEnvironmentHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Builds LaTeX math environments.
- MathEnvironmentHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathEnvironmentHandler
-
- MathFenceHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
- MathFenceHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathFenceHandler
-
- MathFenceHandler.BracketCombinerTargetMatcher - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
- MathFunctionInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Represents a mathematical function like sin, cos, etc.
- MathFunctionInterpretation(String) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathFunctionInterpretation
-
- MathIdentifierInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Semantic interpretation for a mathematical identifier.
- MathIdentifierInterpretation(String) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathIdentifierInterpretation
-
- MathInterpretation - Interface in uk.ac.ed.ph.snuggletex.semantics
-
Base for math-specific semantic interpretations.
- MathLimitsHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
- MathLimitsHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathLimitsHandler
-
- MATHML_ENTITIES_MAP_XSL_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
Specifies the location of the XSLT that converts MathML symbol characters to named entities
- MATHML_NAMESPACE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- MATHML_NAMESPACE - Static variable in interface uk.ac.ed.ph.snuggletex.definitions.W3CConstants
-
- MATHML_PREF_NAMESPACE - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
- MATHML_PREF_NAMESPACE - Static variable in interface uk.ac.ed.ph.snuggletex.definitions.W3CConstants
-
- MATHML_TO_XHTML_XSL_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
Specifies the ClassPath location of the MathML -> XHTML stylesheet to use for down-transforming
- MathMLDownConverter - Class in uk.ac.ed.ph.snuggletex.utilities
-
This utility class "down-converts" a DOM
Document so that simple MathML expressions
are replaced by XHTML + CSS alternatives.
- MathMLDownConverter() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter
-
- MathMLDownConverter(Properties) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter
-
- MathMLDownConverter(StylesheetCache) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter
-
- MathMLDownConverter(StylesheetManager, DOMOutputOptions) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter
-
- MathMLDownConverter(StylesheetManager, Properties) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter
-
- MathMLDownConverter.CSSPropertiesURIResolver - Class in uk.ac.ed.ph.snuggletex.utilities
-
- MathMLPostProcessor - Class in uk.ac.ed.ph.snuggletex.utilities
-
Convenient base for
DOMPostProcessors that might want to do interesting
things to MathML islands, leaving everything else unchanged.
- MathMLPostProcessor() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLPostProcessor
-
- MathMLUtilities - Class in uk.ac.ed.ph.snuggletex.utilities
-
Some general utility methods for manipulating MathML via the DOM.
- MathMLUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- MathNegatableInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Supplementary interpretation for an operator which may be negated.
- MathNegatableInterpretation(MathCharacter) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathNegatableInterpretation
-
- MathNotHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the \\not combiner command.
- MathNotHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathNotHandler
-
- MathNumberInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Represents the interpretation of a mathematical number.
- MathNumberInterpretation(CharSequence) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathNumberInterpretation
-
- MathOperatorInterpretation - Class in uk.ac.ed.ph.snuggletex.semantics
-
Represents a generic Mathematical operator, associating it with the content of
the resulting MathML mo element.
- MathOperatorInterpretation(String) - Constructor for class uk.ac.ed.ph.snuggletex.semantics.MathOperatorInterpretation
-
- MathRootHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the LaTeX \\sqrt command, which generates either a msqrt
or mroot depending on whether an optional argument has been passed or not.
- MathRootHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathRootHandler
-
- MathUnderOrOverHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the \\stackrel, \\overset and \\underset commands.
- MathUnderOrOverHandler(String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathUnderOrOverHandler
-
- MathVariantMap - Class in uk.ac.ed.ph.snuggletex.definitions
-
This map encapsulates how to apply certain types of Mathematical character variants to
"safe and plain" Unicode characters by mapping them to other characters.
- MathVariantMap(String, char[]) - Constructor for class uk.ac.ed.ph.snuggletex.definitions.MathVariantMap
-
- MathVariantMapHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
This handles changes to the current "mathvariant" caused by things like \\mathcal
and friends.
- MathVariantMapHandler(MathVariantMap) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MathVariantMapHandler
-
- MathVariantMaps - Interface in uk.ac.ed.ph.snuggletex.definitions
-
Defines the (safe) mappings of characters for the different types of "mathvariants"
we support.
- MatrixHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the AMSLaTeX cases and the various matrix environments.
- MatrixHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MatrixHandler
-
- MatrixHandler(String, String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MatrixHandler
-
- MatrixHandler(int, String, String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MatrixHandler
-
- MAX_TEXT_STREAM_SIZE - Static variable in class uk.ac.ed.ph.snuggletex.internal.util.IOUtilities
-
Maximum size of characters we'll read from a text stream before complaining
- MessageFormatter - Class in uk.ac.ed.ph.snuggletex.utilities
-
Utility class that formats an
InputError in various ways.
- MessageFormatter() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.MessageFormatter
-
- MinimalExample - Class in uk.ac.ed.ph.snuggletex.samples
-
Example demonstrating a minimal example use of SnuggleTeX.
- MinimalExample() - Constructor for class uk.ac.ed.ph.snuggletex.samples.MinimalExample
-
- ModeDelegatingHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Trivial "meta"-builder that delegates to a
CommandHandler depending on whether we
are in MATH or TEXT mode.
- ModeDelegatingHandler(CommandHandler, CommandHandler) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.ModeDelegatingHandler
-
- ModeState(LaTeXTokeniser.TokenisationMode, LaTeXMode, int, LaTeXTokeniser.Terminator) - Constructor for class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.ModeState
-
- MrowHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Builds MathML mrows.
- MrowHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.MrowHandler
-
- safeToString(Object) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectUtilities
-
Convenience toString() method that can be applied safely to a null
Object, yielding null.
- SAXON_TRANSFORMER_FACTORY_CLASS_NAME - Static variable in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Explicit name of the SAXON 9.X TransformerFactoryImpl Class, as used by the up-conversion extensions
- SaxonTransformerFactoryChooser - Class in uk.ac.ed.ph.snuggletex.utilities
-
Implementation of
TransformerFactoryChooser that is hard-wired to use whichever version
of Saxon can be found in the ClassPath under the
net.sf.saxon package hierarchy, thus
providing support for XSLT 2.0.
- SaxonTransformerFactoryChooser() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.SaxonTransformerFactoryChooser
-
- scoreboardIndex - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.IndexResolution
-
- SCRIPT - Static variable in interface uk.ac.ed.ph.snuggletex.definitions.MathVariantMaps
-
These are defined from the
MathML Script
characters page, omitting those in Unicode plane 1.
- search(Object) - Method in class uk.ac.ed.ph.snuggletex.internal.util.ArrayListStack
-
- SerializationMethod - Enum in uk.ac.ed.ph.snuggletex
-
Enumerates the XML serialization methods available.
- SerializationOptions - Class in uk.ac.ed.ph.snuggletex.utilities
-
- SerializationOptions() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- SerializationSpecifier - Interface in uk.ac.ed.ph.snuggletex
-
Interface specifying various options for serializing XML produced by SnuggleTeX
and some of its utility classes.
- serializeDocument(Document) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Document as a String (encoded in UTF-8),
indenting the results and omitting the XML declaration, which is a reasonable way of
serializing a MathML document.
- serializeDocument(Document, SerializationSpecifier) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Document as a String, using the
specified
SerializationSpecifier, creating any XSLT stylesheet required for
serialization on an ad hoc basis.
- serializeDocument(Document, SerializationSpecifier, StylesheetManager) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Document as a String, using the
specified
SerializationSpecifier and given
StylesheetManager to manage
any XSLT stylesheets required to serialize properly.
- serializeDocument(Document, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Document as a String, using the
specified encoding, indenting the results and omitting the XML declaration,
which is a reasonable way of serializing a MathML document.
- serializeDocument(Document, String, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Document as a String, using the
specified encoding and indentation options and omitting the XML declaration,
which is a reasonable way of serializing a MathML document.
- serializeDocument(Document, boolean, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- serializeDocument(Document, String, boolean, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- serializeElement(Element) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String (encoded in UTF-8),
indenting the results and omitting the XML declaration, which is a reasonable way of
serializing MathML.
- serializeElement(Element, SerializationSpecifier) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String, using the given
SerializationSpecifier, creating any XSLT stylesheet required for
serialization on an ad hoc basis.
- serializeElement(Element, SerializationSpecifier, StylesheetManager) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String, using the given
SerializationSpecifier and given
StylesheetManager to manage
any XSLT stylesheets required to serialize properly.
- serializeElement(Element, String) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String, using
the given encoding, indenting the results and omitting the XML declaration,
which is a reasonable way of serializing MathML.
- serializeElement(Element, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String, indenting if
specified and omitting the XML declaration which is a reasonable way of serializing MathML.
- serializeElement(Element, boolean, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- serializeElement(Element, String, boolean, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
- serializeElement(Element, String, boolean) - Static method in class uk.ac.ed.ph.snuggletex.utilities.MathMLUtilities
-
Convenience method that serializes the given DOM Element as a String, using
the given parameters.
- serializeNode(Node, SerializationSpecifier) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Serializes the given
Node to a well-formed external parsed entity.
- serializeNode(StylesheetManager, Node, SerializationSpecifier) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Serializes the given
Node to a well-formed external parsed entity.
- serializeNodeChildren(StylesheetManager, Node, SerializationSpecifier) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Serializes the
children of given
Node to a well-formed external parsed entity.
- SessionConfiguration - Class in uk.ac.ed.ph.snuggletex
-
- SessionConfiguration() - Constructor for class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
- SessionContext - Interface in uk.ac.ed.ph.snuggletex.internal
-
Provides access to session-related Objects used during the various parts of the snuggle process.
- setAddingMathAnnotations(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- setAddingMathPlayerImport(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets whether to include the necessary processing instruction and object
element required to explicitly trigger the MathPlayer plugin.
- setAddingMathSourceAnnotations(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets whether the MathML math elements generated by SnuggleTeX should
be annotated with the LaTeX input used to generate them.
- setAddingTitleHeading(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets whether page title should be inserted at the start of the web page
body as an XHTML h1 element.
- setApplyingFirefox3SemanticsWorkaround(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Specifies whether we should wrap "display math" MathML content within an additional
<mstyle displaystyle="true">....
- setClientSideXSLTStylesheetURLs(String...) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets an array of relative URLs specifying client-side XSLT stylesheets to be
referenced in the resulting page.
- setCompactingBlankLines(boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- setComputedStyle(ComputedStyle) - Method in class uk.ac.ed.ph.snuggletex.tokens.Token
-
- setContentType(String) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets the MIME type for the resulting page.
- setCSSStylesheetURLs(String...) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Specifies an array of relative URLs specifying client-side CSS stylesheets to be
referenced in the resulting page.
- setCustomMathJaxUrl(String) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setDecimalFormat(DecimalFormat) - Method in class uk.ac.ed.ph.snuggletex.DecimalFormatNumberMatcher
-
- setDefaultDOMOptions(DOMOutputOptions) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- setDefaultDOMOutputOptions(DOMOutputOptions) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- setDefaultSessionConfiguration(SessionConfiguration) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- setDefaultXMLStringOutputOptions(XMLStringOutputOptions) - Method in class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- setDoctypePublic(String) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- setDoctypePublic(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- setDoctypePublic(String) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- setDoctypeSystem(String) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- setDoctypeSystem(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- setDoctypeSystem(String) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- setDOMPostProcessors(DOMPostProcessor...) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets the array of
DOMPostProcessor that will be called in turn to "fix up" or
modify the raw DOM produced by SnuggleTeX immediately after it has been built.
- setEncoding(String) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Sets the encoding for the resulting serialized XML.
- setEncoding(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- setEncoding(String) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Sets the encoding for the resulting serialized XML.
- setEncoding(String) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Sets the encoding for the resulting serialized XML.
- setErrorMessageBundle(ResourceBundle) - Method in class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- setErrorOutputOptions(DOMOutputOptions.ErrorOutputOptions) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- setExpansionLimit(int) - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Sets the maximum depth when expanding out user-defined commands and environments.
- setFailingFast(boolean) - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Sets whether or not the
SnuggleSession will fail immediately on error, or
keep going.
- setFirstBranch(Element) - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Sets the first branch of the top <semantics/> element.
- setHtml5(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setIdentifier(String) - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
Sets the "identifier" for this input.
- setIncludingStyleElement(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets whether to include SnuggleTeX-related CSS as a style element within the
resulting page.
- setIncludingXMLDeclaration(boolean) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Sets whether to include an XML declaration on the resulting output.
- setIncludingXMLDeclaration(boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Sets whether to include an XML declaration on the resulting output.
- setIncludingXMLDeclaration(boolean) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Sets whether to include an XML declaration on the resulting output.
- setIndent(int) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- setIndent(int) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- setIndent(int) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- setIndentation(Transformer, int) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
Helper to turn on indentation for a
Transformer that works correctly for
both Saxon and Xalan.
- setIndenting(boolean) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Sets whether the resulting XML will be indented or not.
- setIndenting(boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Sets whether the resulting XML will be indented or not.
- setIndenting(boolean) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Sets whether the resulting XML will be indented or not.
- setIndentWidth(int) - Method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectDumper
-
- setIndentWidth(int) - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- setInlineCSSProperties(Properties) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets the
Properties Object that will be used to determine inline CSS properties,
if used.
- setInliningCSS(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Set whether CSS styling is to be inlined via style attributes or not.
- setLang(String) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets the language of the resulting page.
- setLinkResolver(LinkResolver) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets the "link resolver" that will be given a chance to fix up any XHTML links created by
certain LaTeX inputs.
- setMathElement(Element) - Method in class uk.ac.ed.ph.snuggletex.utilities.UnwrappedParallelMathMLDOM
-
Sets the containing <math/> element
- setMathJax(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setMathMLPrefix(String) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- setMathPrefRenderer(String) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setMathVariantMapping(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets whether we should perform automatic mappings of (safe) Unicode characters when applying
"stylings" like \\mathcal and \\mathbb.
- setMaxDepth(int) - Method in class uk.ac.ed.ph.snuggletex.internal.util.ObjectDumper
-
- setMaxIndentLevel(int) - Method in class uk.ac.ed.ph.snuggletex.utilities.LaTeXIndenter
-
- setNoCharsetInContentTypeHeader(boolean) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setNumberMatcher(NumberMatcher) - Method in class uk.ac.ed.ph.snuggletex.SessionConfiguration
-
Sets the
NumberMatcher used to identify numbers in Math mode input.
- setOutputContext(Element, DOMBuilder.OutputContext) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- setPrefixingMathML(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets whether MathML elements should be prefixed or not.
- setPrefixingSnuggleXML(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets whether custom SnuggleTeX XML elements should be prefixed or not.
- setPrefixingXHTML(boolean) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
Sets whether XHTML elements should be prefixed or not.
- setSerializationMethod(SerializationMethod) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
- setSerializationMethod(SerializationMethod) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
- setSerializationMethod(SerializationMethod) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
- setSnuggleXMLPrefix(String) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- setStylesheetCache(StylesheetCache) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
Sets the
StylesheetCache for this manager, which may be null to indicate that
no caching should take place.
- setStylesheets(Transformer...) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets an array of JAXP
Transformers representing XSLT stylesheet(s)
that will be applied to the resulting web page once it has been built but
before it is serialised.
- setTitle(String) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
Sets the title for the resulting page.
- setTransformerFactoryChooser(TransformerFactoryChooser) - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- setURI(URI) - Method in class uk.ac.ed.ph.snuggletex.SnuggleInput
-
Sets a URI for this input.
- setUsingNamedEntities(boolean) - Method in interface uk.ac.ed.ph.snuggletex.SerializationSpecifier
-
Sets whether to use named entities for certain MathML symbols rather than
numeric character references.
- setUsingNamedEntities(boolean) - Method in class uk.ac.ed.ph.snuggletex.utilities.SerializationOptions
-
Sets whether to use named entities for certain MathML symbols rather than
numeric character references.
- setUsingNamedEntities(boolean) - Method in class uk.ac.ed.ph.snuggletex.XMLStringOutputOptions
-
Sets whether to use named entities for certain MathML symbols rather than
numeric character references.
- SetVarHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the \\setvar macro.
- SetVarHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.SetVarHandler
-
- setVariable(String, String, Object) - Method in class uk.ac.ed.ph.snuggletex.internal.VariableManager
-
- setWebPageContentType(Object) - Method in class uk.ac.ed.ph.snuggletex.internal.WebPageBuilder
-
Calls the setContentType method for the given Object (by reflection) to something
appropriate for serving the types of web pages generated by this builder over HTTP.
- setWebPageContentType(WebPageOutputOptions, Object) - Method in class uk.ac.ed.ph.snuggletex.SnuggleSession
-
Calls the
setContentType of the given Object to something appropriate for the
given
WebPageOutputOptions.
- setWebPageType(WebPageOutputOptions.WebPageType) - Method in class uk.ac.ed.ph.snuggletex.WebPageOutputOptions
-
- setXHTMLPrefix(String) - Method in class uk.ac.ed.ph.snuggletex.DOMOutputOptions
-
- sharesDocumentWith(FrozenSlice) - Method in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- SimpleNumberMatcher - Class in uk.ac.ed.ph.snuggletex
-
Very basic but fast implementation of
NumberMatcher that handles western-style
numeric characters, supporting Locale-specific decimal points.
- SimpleNumberMatcher() - Constructor for class uk.ac.ed.ph.snuggletex.SimpleNumberMatcher
-
- SimpleNumberMatcher(Locale) - Constructor for class uk.ac.ed.ph.snuggletex.SimpleNumberMatcher
-
- SimpleStylesheetCache - Class in uk.ac.ed.ph.snuggletex.utilities
-
- SimpleStylesheetCache() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.SimpleStylesheetCache
-
- SimpleToken - Class in uk.ac.ed.ph.snuggletex.tokens
-
Represents a "simple" LaTeX token.
- SimpleToken(FrozenSlice, TokenType, LaTeXMode, TextFlowContext, Interpretation...) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.SimpleToken
-
- SimpleToken(FrozenSlice, TokenType, LaTeXMode, TextFlowContext, EnumMap<InterpretationType, Interpretation>) - Constructor for class uk.ac.ed.ph.snuggletex.tokens.SimpleToken
-
- SimpleXHTMLContainerBuildingHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
This trivial handler takes an Environment or 1-argument Command and simply maps it to
an XHTML element with the given name and CSS class.
- SimpleXHTMLContainerBuildingHandler(String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.SimpleXHTMLContainerBuildingHandler
-
- SimpleXHTMLContainerBuildingHandler(String, String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.SimpleXHTMLContainerBuildingHandler
-
- slice - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.IndexResolution
-
- Slice(int, int, WorkingDocument.CharacterSource, int) - Constructor for class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.Slice
-
- slice - Variable in class uk.ac.ed.ph.snuggletex.tokens.Token
-
Extent of this entire token
- SnuggleConstants - Interface in uk.ac.ed.ph.snuggletex
-
Public SnuggleTeX-related constants.
- SnuggleEngine - Class in uk.ac.ed.ph.snuggletex
-
This is the main entry point into SnuggleTeX.
- SnuggleEngine() - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
Creates a new
SnuggleEngine using a very simple internal cache for any
XSLT stylesheets required that simply stores them internally for the lifetime
of the engine.
- SnuggleEngine(StylesheetCache) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- SnuggleEngine(TransformerFactoryChooser, StylesheetCache) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- SnuggleEngine(StylesheetManager) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleEngine
-
- SnuggleInput - Class in uk.ac.ed.ph.snuggletex
-
Simple container for an input into SnuggleTeX.
- SnuggleInput(String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(String, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(File) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(File, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(File, String, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(InputStream) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(InputStream, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(InputStream, String, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(Reader) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput(Reader, String) - Constructor for class uk.ac.ed.ph.snuggletex.SnuggleInput
-
- SnuggleInput.InputType - Enum in uk.ac.ed.ph.snuggletex
-
Enumerates the various types of inputs we support.
- SnuggleInputReader - Class in uk.ac.ed.ph.snuggletex.internal
-
Helper class that does the job of taking a
SnuggleInput, checking its contents for
allowed Unicode characters, working out how to map absolute offsets into
(line,column)
pairs and producing a
WorkingDocument for later use.
- SnuggleInputReader(SessionContext, SnuggleInput) - Constructor for class uk.ac.ed.ph.snuggletex.internal.SnuggleInputReader
-
- SnuggleLogicException - Exception in uk.ac.ed.ph.snuggletex
-
This
RuntimeException is thrown if SnuggleTeX has detected something amiss with its
logic.
- SnuggleLogicException() - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleLogicException
-
- SnuggleLogicException(String, Throwable) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleLogicException
-
- SnuggleLogicException(String) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleLogicException
-
- SnuggleLogicException(Throwable) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleLogicException
-
- SnugglePackage - Class in uk.ac.ed.ph.snuggletex
-
- SnugglePackage(String) - Constructor for class uk.ac.ed.ph.snuggletex.SnugglePackage
-
- SnuggleParseException - Exception in uk.ac.ed.ph.snuggletex.internal
-
- SnuggleParseException(InputError) - Constructor for exception uk.ac.ed.ph.snuggletex.internal.SnuggleParseException
-
- SnuggleRuntimeException - Exception in uk.ac.ed.ph.snuggletex
-
This
RuntimeException is used to indicate a problem within SnuggleTeX which is due to
a mis-configuration of SnuggleTeX, rather than a problem with client input or bad logic within
SnuggleTeX.
- SnuggleRuntimeException() - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleRuntimeException
-
- SnuggleRuntimeException(String, Throwable) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleRuntimeException
-
- SnuggleRuntimeException(String) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleRuntimeException
-
- SnuggleRuntimeException(Throwable) - Constructor for exception uk.ac.ed.ph.snuggletex.SnuggleRuntimeException
-
- SnuggleSession - Class in uk.ac.ed.ph.snuggletex
-
This represents a single "job" for SnuggleTeX.
- SnuggleSession.EndOutputAction - Enum in uk.ac.ed.ph.snuggletex
-
- SnuggleSimpleMathRunner - Class in uk.ac.ed.ph.snuggletex
-
FIXME: Document this type!
- SnuggleSnapshot - Class in uk.ac.ed.ph.snuggletex
-
- SNUGGLETEX_MATHML_ANNOTATION_ENCODING - Static variable in interface uk.ac.ed.ph.snuggletex.SnuggleConstants
-
- SNUGGLETEX_MATHML_SOURCE_ANNOTATION_ENCODING - Static variable in interface uk.ac.ed.ph.snuggletex.SnuggleConstants
-
- SNUGGLETEX_NAMESPACE - Static variable in interface uk.ac.ed.ph.snuggletex.SnuggleConstants
-
Namespace for any SnuggleTeX-specific XML elements produced
- SnuggleUtilities - Class in uk.ac.ed.ph.snuggletex.utilities
-
A collection of occasionally useful SnuggleTeX-related utility methods, as well
as some more general LaTeX stuff.
- SnuggleUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.SnuggleUtilities
-
- SpaceHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Creates preset spacing elements in MATH and/or TEXT modes.
- SpaceHandler(String, String) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.SpaceHandler
-
- startIndex - Variable in class uk.ac.ed.ph.snuggletex.internal.FrozenSlice
-
- startIndex - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.Slice
-
- startPosition - Variable in class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.ModeState
-
- StringTerminator(String) - Constructor for class uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.StringTerminator
-
- StringUtilities - Class in uk.ac.ed.ph.snuggletex.internal.util
-
Some vaguely useful String-related methods that are used from
time to time.
- StringUtilities() - Constructor for class uk.ac.ed.ph.snuggletex.internal.util.StringUtilities
-
- STRIP_ALL_NAMESPACES_XSL_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
Specifies the ClassPath location of the all XML -> no namespace used for serializing as legacy HTML
- STRIP_XHTML_NAMESPACE_XSL_RESOURCE_NAME - Static variable in class uk.ac.ed.ph.snuggletex.definitions.Globals
-
Specifies the ClassPath location of the XHTML -> no namespace used for serializing as legacy HTML
- STYLE_SENTINEL - Static variable in interface uk.ac.ed.ph.snuggletex.semantics.Interpretation
-
- StyleDeclarationInterpretation - Enum in uk.ac.ed.ph.snuggletex.semantics
-
Represents styled text in either MATH and/or TEXT Modes.
- StyleEvaluator - Class in uk.ac.ed.ph.snuggletex.internal
-
- StyleEvaluator(SessionContext) - Constructor for class uk.ac.ed.ph.snuggletex.internal.StyleEvaluator
-
- StyleHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the internal <style> environment delimiting a branch of content to be
rendered in a different style.
- StyleHandler() - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.StyleHandler
-
- StyleRebuilder - Class in uk.ac.ed.ph.snuggletex.internal
-
- StyleRebuilder(SessionContext) - Constructor for class uk.ac.ed.ph.snuggletex.internal.StyleRebuilder
-
- StylesheetCache - Interface in uk.ac.ed.ph.snuggletex.utilities
-
Encapsulates a simple cache for the internal XSLT stylesheets used by SnuggleTeX.
- StylesheetManager - Class in uk.ac.ed.ph.snuggletex.utilities
-
Trivial helper class to manage the loading of SnuggleTeX's internal stylesheets, using
a
StylesheetCache to cache stylesheets for performance.
- StylesheetManager() - Constructor for class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- StylesheetManager(StylesheetCache) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- StylesheetManager(TransformerFactoryChooser, StylesheetCache) - Constructor for class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- substitute(int, int, CharSequence) - Method in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument
-
- substitutedSource - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
The block that this block was initially substituted into, or null to indicate that it
is "top level" or was appended rather than substituted.
- substitutedText - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
- SubstitutionContext(CharSequence) - Constructor for class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.SubstitutionContext
-
- substitutionOffset - Variable in class uk.ac.ed.ph.snuggletex.internal.WorkingDocument.CharacterSource
-
- supportsXSLT20(TransformerFactory) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- supportsXSLT20(Transformer) - Static method in class uk.ac.ed.ph.snuggletex.internal.util.XMLUtilities
-
- supportsXSLT20() - Method in class uk.ac.ed.ph.snuggletex.utilities.StylesheetManager
-
- validateURI(Element, Token, String) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
Checks the given raw URI to ensure that it is valid, returning a
URI Object if
valid or null if not.
- validateXMLId(Element, Token, String) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
- validateXMLName(Element, Token, String) - Method in class uk.ac.ed.ph.snuggletex.internal.DOMBuilder
-
Checks the given raw XML Name to ensure that it confirms to the correct syntax, returning
it unchanged if successful.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CommandType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorGroup
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.LaTeXMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.MathCharacter.MathCharacterType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.definitions.TextFlowContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.DOMOutputOptions.ErrorOutputOptions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.internal.DOMBuilder.OutputContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.TokenisationMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.internal.util.DumpMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.internal.util.PropertyOptions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.semantics.InterpretationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation.BracketType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.SerializationMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.SnuggleInput.InputType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.SnuggleSession.EndOutputAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.tokens.TokenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.ac.ed.ph.snuggletex.WebPageOutputOptions.WebPageType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CommandType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontFamily
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.ComputedStyle.FontSize
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.CoreErrorGroup
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.LaTeXMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.MathCharacter.MathCharacterType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.definitions.TextFlowContext
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.DOMOutputOptions.ErrorOutputOptions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.internal.DOMBuilder.OutputContext
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.TokenisationMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.internal.util.DumpMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.internal.util.PropertyOptions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.semantics.InterpretationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.semantics.MathBracketInterpretation.BracketType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.SerializationMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.SnuggleInput.InputType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.SnuggleSession.EndOutputAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.tokens.TokenType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum uk.ac.ed.ph.snuggletex.WebPageOutputOptions.WebPageType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- VariableManager - Class in uk.ac.ed.ph.snuggletex.internal
-
Manages the values of user-defined variables.
- VariableManager() - Constructor for class uk.ac.ed.ph.snuggletex.internal.VariableManager
-
- VerbatimHandler - Class in uk.ac.ed.ph.snuggletex.dombuilding
-
Handles the verbatim environment and \\verb command.
- VerbatimHandler(boolean) - Constructor for class uk.ac.ed.ph.snuggletex.dombuilding.VerbatimHandler
-