Tobias Burnus wrote:

Hi,

Hans Hagen wrote:

I tried now:
 texexec --texutil --runs=2 --batch --pages=1:2
which runs only once (= tex once and then texutil once).

If one then manually runs texexec again (same options) it finally shows "Page 1 of 3".


so there is a problem with your file (missing structure?)

Well, the problem is that the file is longer (e.g. three pages with a long less interesting log) than I want to have it (one sheet/2 pages); thus I use --pages=1:2, which seems to interfer with multiple runs (--pages seems to cause an implicit --once).
Otherwise, if I run without --pages it works fine.

in that case:

\the\numexpr\lastpage-2\relax

may help

Hans
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to