|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.tex.TeXOutputRoutine
public class TeXOutputRoutine
This class provides a link between the typesetter and the interpreter for the
output routine. In
The tokens register \output contains the program executed whenever
a page is completed. If it is not defined then the built-in output routine
will be used.
The box register 255 is used to pass in the current vertical list. This list
is assumed to make it to the page. For this purpose the primitive
The output routine is assumed to clear the box register 255. If some material
is left in this box register then this is considered an error.
The output routine is assumed to invoke
The count register \deadcycles contains the number of attempts to
call the output routine without any material being shipped out. Usually the
output routine is expected to ship something out. Under some circumstances
the output is delayed. Thus a large number of dead cycles can indicate a
problem in the output routine. The register \deadcycles is
compared with the register \maxdeadcycles to decide when an
intervention seem appropriate.
The count register \maxdeadcycles contains the maximum number of
attempts to call the output routine without any material being shipped out.
The output routine is expected to ship something out. Under some
circumstances the output is delayed. Thus a large number of dead cycles can
indicate a problem in the output routine. The register \deadcycles
is compared with the register \maxdeadcycles to decide when an
intervention seem appropriate.
The Tokens Register \output
\shipout can be used.
\shipout. This does not
have to happen at each invocation of the output routine. The count register
\maxdeadcycles determines how many invocations are allowed which
do not call \shipout.
The count register \deadcycles contains the number of dead cycles
encountered already.
Syntax
The formal description of this primitive is the following:
〈output〉
→ \output 〈equals〉 〈tokens〉
Examples
\output={}
The Count Parameter \deadcycles
Syntax
The formal description of this primitive is the following:
〈deadcycles〉
→ \deadcycles 〈equals〉 〈number〉
Examples
\deadcycles=0
The Count Parameter \maxdeadcycles
Syntax
The formal description of this primitive is the following:
〈maxdeadcycles〉
→ \maxdeadcycles 〈equals〉 〈number〉
Examples
\maxdeadcycles=1
| Constructor Summary | |
|---|---|
TeXOutputRoutine(Interpreter interpreter)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
output(Page page,
BackendDriver backend)
The output function is invoked to process a vertical list and put the material on the page. |
protected java.lang.Object |
readResolve()
Magic method for deserialization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeXOutputRoutine(Interpreter interpreter)
throws CatcodeException
interpreter - the interpreter
CatcodeException - in case of an error| Method Detail |
|---|
public void output(Page page,
BackendDriver backend)
throws GeneralException
output in interface OutputRoutinepage - the nodes to put onto the pagebackend - the back-end driver to target the nodes to
GeneralException - in case of an error
ConfigurationException - in case of an configuration errorOutputRoutine.output(
org.extex.typesetter.type.page.Page,
org.extex.backend.BackendDriver)
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||