Class Html2Latex

java.lang.Object
org.ctan.markup.html2latex.Html2Latex

public class Html2Latex extends Object
This class transforms HTML to LaTeX.
  • Field Details

    • NOTHING

      public static final Html2Latex.Handler NOTHING
      The field NOTHING contains the handler which produces nothing.
    • CLOSE_BRACE

      public static final Html2Latex.Handler CLOSE_BRACE
      The field CLOSE_BRACE contains the handler which produces a closing curly brace.
    • NL

      public static final Html2Latex.Handler NL
      The field NL contains the handler which produces a newline.
  • Constructor Details

    • Html2Latex

      public Html2Latex(@NonNull @NonNull LinkManager linkManager)
      This is the constructor for Html2Latex.
      Parameters:
      linkManager - the link manager
  • Method Details

    • convert

      public String convert(@NonNull @NonNull String in)
      Convert HTML to LaTeX.
      Parameters:
      in - the HTML input as string
      Returns:
      the resulting LaTeX code