Top Description Fields Constructors Methods
org.jabref.latexconv.internal

public final Class SnuggleSupport

extends Object
Class Inheritance
Imports
java.util.Map, .TreeMap, uk.ac.ed.ph.snuggletex.SnuggleEngine, .SnugglePackage, .SnuggleSession, uk.ac.ed.ph.snuggletex.definitions.LaTeXMode

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.

The engine is immutable after construction and safe to share; SnuggleSession is NOT thread-safe, so every conversion gets a fresh session.

Field Summary

Modifier and TypeField and Description
private static final SnuggleEngine
private static final Map<String, Integer>
EXTRA_COMMANDS

Commands the emitters handle specially but that appear in no table row.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static SnuggleEngine
public static SnuggleSession
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ENGINEback to summary
private static final SnuggleEngine ENGINE
EXTRA_COMMANDSback to summary
private static final Map<String, Integer> EXTRA_COMMANDS

Commands the emitters handle specially but that appear in no table row.

Constructor Detail

SnuggleSupportback to summary
private SnuggleSupport()

Method Detail

buildEngineback to summary
private static SnuggleEngine buildEngine()
createSessionback to summary
public static SnuggleSession createSession()