15 Dec
2005
15 Dec
'05
3:08 p.m.
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.tui - TeXutil -> convert .tui into .tuo - Second TeX run -> reads .tuo The .tuo file contains the needed information. (texexec calls texutil automatically and reruns if needed) If you \setuparranging [2UP], the .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 " and run TeX again (texexec ...) Tobias