|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.typesetter.output.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. |
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 errorMethod Detail |
public void output(Page page, BackendDriver backend) throws GeneralException
OutputRoutine
output
in interface OutputRoutine
page
- the nodes to put onto the pagebackend
- the back-end driver to target the nodes to
GeneralException
- in case of an errorde.dante.extex.typesetter.OutputRoutine#output(
de.dante.extex.typesetter.type.page.Page,
de.dante.extex.backend.BackendDriver)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |