Package org.ctan.markup.html2latex
Class Html2Latex
java.lang.Object
org.ctan.markup.html2latex.Html2Latex
This class transforms HTML to LaTeX.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
This interface describes the handler for processing a HTML node.static class
This class is a Handler which encapsulates a String to be delivered. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Html2Latex.Handler
The fieldCLOSE_BRACE
contains the handler which produces a closing curly brace.static final Html2Latex.Handler
The fieldNL
contains the handler which produces a newline.static final Html2Latex.Handler
The fieldNOTHING
contains the handler which produces nothing. -
Constructor Summary
ConstructorsConstructorDescriptionHtml2Latex
(@NonNull LinkManager linkManager) This is the constructor forHtml2Latex
. -
Method Summary
-
Field Details
-
NOTHING
The fieldNOTHING
contains the handler which produces nothing. -
CLOSE_BRACE
The fieldCLOSE_BRACE
contains the handler which produces a closing curly brace. -
NL
The fieldNL
contains the handler which produces a newline.
-
-
Constructor Details
-
Html2Latex
This is the constructor forHtml2Latex
.- Parameters:
linkManager
- the link manager
-
-
Method Details
-
convert
Convert HTML to LaTeX.- Parameters:
in
- the HTML input as string- Returns:
- the resulting LaTeX code
-