ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \totalnumberofpages & texexec --pages=1:2
Date: Wed, 07 Dec 2005 17:03:33 +0100	[thread overview]
Message-ID: <439707D5.4090804@wxs.nl> (raw)
In-Reply-To: <4396ED5A.4060002@gmx.de>

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

      reply	other threads:[~2005-12-07 16:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07 10:16 Tobias Burnus
2005-12-07 10:58 ` Thomas A. Schmitz
2005-12-07 13:04   ` Tobias Burnus
2005-12-07 13:49     ` Hans Hagen
2005-12-07 14:10       ` Tobias Burnus
2005-12-07 16:03         ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439707D5.4090804@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).