[NTG-context] \totalnumberofpages and \setuparranging [2UP]

Johan Sandblom jsandblom at gmail.com
Thu Dec 15 17:07:33 CET 2005


Could it be that texexec needs to be run with

texexec --arrange

Johan

2005/12/15, Tobias Burnus <burnus at gmx.de>:
> Hi,
>
> John Magolske wrote:
> > I'm having trouble getting \totalnumberofpages to display while using
> > \setuparranging [2UP].
> In order to get \totalnumberofpages (or \lastpage), the following happens:
> - First TeX run -> produces <file>.tui
> - TeXutil -> convert <file>.tui into <file>.tuo
> - Second TeX run -> reads <file>.tuo
> The <file>.tuo file contains the needed information. (texexec calls
> texutil automatically and reruns if needed)
>
> If you \setuparranging [2UP], the <file>.tui contains these extra lines:
>    c \utilitygenerationaborted
>    q {quit}
> which prevents TeXutil from creating the needed information.
>
> Why this is done that way, we have to wait for Hans to answer.
>
> Workaround: Run TeX once (texexec ....), remove the two lines, run
> "texutil --ref <file>" and run TeX again (texexec ...)
>
> Tobias
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell


More information about the ntg-context mailing list