## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

 Options: Use Forum View Use Monospaced Font Show Text Part by Default Condense Mail Headers Message: [<< First] [< Prev] [Next >] [Last >>] Topic: [<< First] [< Prev] [Next >] [Last >>] Author: [<< First] [< Prev] [Next >] [Last >>]

```Hans Aberg writes:
>   Even though TeX is a single pass compiler, multiple passes can be made by
> reading a file several times.
>
>   So I suggest one might consider adding this as a feature of LaTeX3:
>
>   For example, if one wants to automate the LaTeX standard two-pass
> compile, the environment "document" data would be put in a special file,
> which is read twice; if this feature is chosen, the first pass could then
> be done without actual typesetting, making it faster.

i fear that i don't understand what you mean. what "data" can be put
into a special file? most of the reason why you need the typesetting
several times (and it might be even more than two) is to gather
information from the visual context of the document, eg \pageref can
only report the correct number if everything up to that point is