gate.yam.translate
Interface LaTeXConstants

All Known Implementing Classes:
LaTeXConstantsTests, LaTeXTranslator

public interface LaTeXConstants

Constants used when translating LaTeX. One entry for each type of parse tree node. Each entry contains the node type name, the start constant and the end constant.

 constantsTable[CONSTANTNAME] is the node type name
 constantsTable[CONSTANTSTART] is the start string
 constantsTable[CONSTANTEND] is the end string
 
A separate map is defined for predicates, and there are misc patterns for e.g. headings construction.

Author:
Hamish Cunningham

Field Summary
static String citationAttr
          HTML citation style.
static String[] citationAttrs
          Attributes allowed on citations.
static String[] footnoteAttrs
          Attributes allowed on footnotes.
static String[] imageAttrs
          Attributes allowed on images.
static String[] includeAttrs
          Attributes allowed on includes.
static String[][] latexConstantsTable
          Array mapping node type name to start/end strings.
static Object[][] latexPredicatesTable
          Array mapping predicate type name to attributes.
 

Field Detail

latexConstantsTable

static final String[][] latexConstantsTable
Array mapping node type name to start/end strings.


imageAttrs

static final String[] imageAttrs
Attributes allowed on images.


footnoteAttrs

static final String[] footnoteAttrs
Attributes allowed on footnotes.


citationAttr

static final String citationAttr
HTML citation style.

See Also:
Constant Field Values

citationAttrs

static final String[] citationAttrs
Attributes allowed on citations. Ugly, I admit.


includeAttrs

static final String[] includeAttrs
Attributes allowed on includes.


latexPredicatesTable

static final Object[][] latexPredicatesTable
Array mapping predicate type name to attributes.