public class ImageFormulaConverter extends FormulaConverter
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
logger |
engine, FORMULA_ID_PREFIX, tempDirPath, xpath
Constructor and Description |
---|
ImageFormulaConverter() |
Modifier and Type | Method and Description |
---|---|
Formula |
parse(int id,
String latexFormula)
Takes a single LaTeX formula and converts it to an image in PNG format
|
extractFormulas, getTempDirPath, parseToMathML, renderInvalidFormulaSource, replaceFormulas, setGenerateDebugMarkup
public Formula parse(int id, String latexFormula)
parse
in class FormulaConverter
id
- formula's number inside the documentlatexFormula
- LaTeX formulaCopyright © 2015 Vienna University of Technology. All rights reserved.