Top Classes
module org.jabref.latexconv

Package org.jabref.latexconv.internal


Class Summary

Modifier and TypeClass and Description
public class
ConversionTable

In-memory view of conversion-table.tsv, the generated LaTeX <-> Unicode conversion table bundled as a module resource.

public class
HtmlEmitter

Renders the token tree as a minimal HTML fragment: text styles become <i>/<em>/<b>/ <code>, scripts become <sub>/<sup>, text is &<>-escaped.

public class
SnuggleSupport

Owns the shared SnuggleEngine, with the conversion table's command vocabulary registered on top of SnuggleTeX's built-ins so the tokenizer accepts commands like \textsuperscript or \L instead of flagging them as errors.

public abstract class
TokenWalker

Walks a parsed SnuggleTeX token tree and renders it through the output hooks implemented by UnicodeEmitter and HtmlEmitter, driven by ConversionTable.

public class
UnicodeEmitter

Renders the token tree as Unicode plain text: styles map through the math-alphabet tables, scripts become Unicode super-/subscript characters (or ^(...)/_(...) when a character has no script form).

public class
UnicodeToLatexConverter

Encodes Unicode plain text as LaTeX, the reverse of UnicodeEmitter, from the same conversion table.

public class
UnsupportedLatexException

Signals input this library cannot convert (parse errors beyond the recoverable kinds).