ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johan Sandblom <jsandblom@gmail.com>
Subject: Re: \totalnumberofpages and \setuparranging [2UP]
Date: Thu, 15 Dec 2005 17:07:33 +0100	[thread overview]
Message-ID: <97a06f070512150807l24d7f073q@mail.gmail.com> (raw)
In-Reply-To: <43A178D5.5090703@gmx.de>

Could it be that texexec needs to be run with

texexec --arrange

Johan

2005/12/15, Tobias Burnus <burnus@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@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

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15  7:08 John Magolske
2005-12-15 14:08 ` Tobias Burnus
2005-12-15 16:07   ` Johan Sandblom [this message]
2005-12-16  5:54     ` John Magolske

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=97a06f070512150807l24d7f073q@mail.gmail.com \
    --to=jsandblom@gmail.com \
    --cc=johan.sandblom@ki.se \
    --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).