public class LatexPrinterCommand extends AbstractLatexPrinterCommand
LATEX_POSTSCRIPT, LATEX_PREAMBLE
onTheFlySectName_, printStructuredGoal_, printTextWidth_
PROP_LATEXPRINTER_WRAPPING, PROP_LATEXPRINTER_WRAPPING_DEFAULT
PROP_PRINT_NAME_IDS, PROP_PRINT_NAME_IDS_DEFAULT, PROP_PRINT_ZEVES, PROP_PRINT_ZEVES_DEFAULT, PROP_PRINTING_ONTHEFLY_SECTION_NAME, PROP_PRINTING_ONTHEFLY_SECTION_NAME_DEFAULT, PROP_PRINTING_STRUCTURED_GOAL, PROP_PRINTING_STRUCTURED_GOAL_DEFAULT, PROP_TXT_TAB_SIZE, PROP_TXT_TAB_SIZE_DEFAULT, PROP_TXT_WIDTH, PROP_TXT_WIDTH_DEFAULT
Constructor and Description |
---|
LatexPrinterCommand() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doCompute(String name,
SectionManager manager)
Given a section or spec name (e.g., it uses TermCommand) it computes the term
to be printed as LaTeX output, and added to the Manager as a LatexString class.
|
protected void |
parse(Writer out,
SectionManager sectInfo,
lr_parser parser,
String sectionName) |
void |
printLatex(net.sourceforge.czt.base.ast.Term term,
Writer out,
SectionManager sectInfo,
String sectionName)
Prints a given term (usually an Expr or Pred) as latex markup to
the given writer.
|
getLatexWrapping, getSymParaEnd, getSymParaStart, getSymTokenseq, latexPostscript, latexPreamble, prepare, processProperties
createPrettyPrinter, createTokenSequenceVisitor, doToUnicode, preprocess, processProperties, toPrintTree, toUnicode
compute, traceInfo, traceLog
protected boolean doCompute(String name, SectionManager manager) throws CommandException
doCompute
in class AbstractCommand
name
- manager
- CommandException
public void printLatex(net.sourceforge.czt.base.ast.Term term, Writer out, SectionManager sectInfo, String sectionName) throws PrintException
net.sourceforge.czt.parser.util.OpTable.class
and
net.sourceforge.czt.parser.util.LatexMarkupTable.class
.term
- out
- sectInfo
- sectionName
- PrintException
protected void parse(Writer out, SectionManager sectInfo, lr_parser parser, String sectionName) throws PrintException
PrintException
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.