public final class JEuclidUtilities extends Object
WebPageOutputOptionsBuilder| Constructor and Description |
|---|
JEuclidUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static WebPageOutputOptions |
createHTML4WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static WebPageOutputOptions |
createHTML5WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static WebPageOutputOptions |
createWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Deprecated.
|
static WebPageOutputOptions |
createXHTMLWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static void |
setupJEuclidPostProcessors(DOMOutputOptions options,
boolean downConvertFirst,
MathMLImageSavingCallback callback)
Takes an existing
DOMOutputOptions and configures it to convert
MathML to images using JEuclid, optionally down-converting simple expressions to HTML+CSS
beforehand. |
public static void setupJEuclidPostProcessors(DOMOutputOptions options, boolean downConvertFirst, MathMLImageSavingCallback callback)
DOMOutputOptions and configures it to convert
MathML to images using JEuclid, optionally down-converting simple expressions to HTML+CSS
beforehand.
This works by replacing any existing DOMPostProcessors. If you
want to use other DOMPostProcessors, then you will have to work out whether they
fit in with this process and configure things manually.
options - existing DOMOutputOptions ObjectdownConvertFirst - callback - @Deprecated public static WebPageOutputOptions createWebPageOptions(boolean downConvertFirst, MathMLImageSavingCallback callback)
createXHTMLWebPageOptions(boolean, MathMLImageSavingCallback),
createHTML4WebPageOptions(boolean, MathMLImageSavingCallback)
or createHTML5WebPageOptions(boolean, MathMLImageSavingCallback) methods now.WebPageOutputOptions suitably configured for converting MathML
to images, with optional down-conversion.
As of SnuggleTeX 1.3.0, this simply calls #createXHTMLWebPageOptions(). This method
will be removed in SnuggleTeX 1.4.downConvertFirst - callback - public static WebPageOutputOptions createXHTMLWebPageOptions(boolean downConvertFirst, MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be XHTML.downConvertFirst - callback - public static WebPageOutputOptions createHTML4WebPageOptions(boolean downConvertFirst, MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be HTML 4.downConvertFirst - callback - public static WebPageOutputOptions createHTML5WebPageOptions(boolean downConvertFirst, MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be HTML 5.downConvertFirst - callback - Copyright © 2008–2026 The University of Edinburgh. All rights reserved.