writer2latex.latex
Class MathmlConverter
public final class MathmlConverter
This class converts mathml nodes to LaTeX.
(Actually it only converts the starmath annotation currently, if available).
convert
public String convert(Node settings,
Node formula)
handleDisplayEquation
public boolean handleDisplayEquation(Node node,
LaTeXDocumentPortion ldp)
Try to convert a paragraph as a display equation
Currently a display equation is a paragraph which contains only
whitespace + a single math object
node
- the paragraphldp
- the LaTeXDocumentPortion to contain the converted equation
- true if the conversion was succesful, false if the paragraph
did not contain a display equation