|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrvl.swv.AbstractEngine
rvl.swv.LaTeXEngine
public class LaTeXEngine
Engine for LaTeX code. This is a trivial engine that works only with LaTeX source files. It just collects tex code from code chunks and drops them into the designated locations for output. That is, the output file is just the code file.
Field Summary |
---|
Fields inherited from class rvl.swv.AbstractEngine |
---|
codeExt, commentEnd, commentStart, endCode, engineName, medExt, okfigfmts, outExt, startupCode |
Constructor Summary | |
---|---|
LaTeXEngine()
|
Method Summary | |
---|---|
void |
closeFig()
Put code to close the graphics file created by setupFig |
void |
deleteCodeFile()
Delete the code and output files |
void |
putExpr(java.lang.String expr)
Evaluate an expression and put it in the output stream |
void |
putSeparator(java.lang.String text)
Put code that will add the given text in a separate line of the engine's output. |
void |
putStartup(boolean weaving)
Startup code |
java.lang.Process |
runCode()
Run the code, and return its Process object |
FigFile |
setupFig(java.lang.String chunkName)
Put code that will set up a file to receive figure output This method uses the contents of AbstractEngine.okfigfmts and negotiates
with the current FileInterface to determine what
figure format to actually use, and how to size it. |
Methods inherited from class rvl.swv.AbstractEngine |
---|
closeCodeFile, getFileNames, openCodeFile, postProcess, putCode, putComment, setBinary, setParents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaTeXEngine()
Method Detail |
---|
public void putStartup(boolean weaving)
AbstractEngine
putStartup
in interface EngineInterface
putStartup
in class AbstractEngine
public void putSeparator(java.lang.String text)
AbstractEngine
putSeparator
in interface EngineInterface
putSeparator
in class AbstractEngine
public void putExpr(java.lang.String expr)
AbstractEngine
putExpr
in interface EngineInterface
putExpr
in class AbstractEngine
public FigFile setupFig(java.lang.String chunkName)
AbstractEngine
AbstractEngine.okfigfmts
and negotiates
with the current FileInterface
to determine what
figure format to actually use, and how to size it.
The extending class should call this as a superclass method,
then use the properties of the returned object as needed in
outputting the needed setup code for the figure
setupFig
in interface EngineInterface
setupFig
in class AbstractEngine
public void closeFig()
AbstractEngine
closeFig
in interface EngineInterface
closeFig
in class AbstractEngine
public java.lang.Process runCode()
AbstractEngine
runCode
in interface EngineInterface
runCode
in class AbstractEngine
public void deleteCodeFile()
AbstractEngine
deleteCodeFile
in interface EngineInterface
deleteCodeFile
in class AbstractEngine
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |