From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24370 Path: news.gmane.org!not-for-mail From: Johan Sandblom Newsgroups: gmane.comp.tex.context Subject: Re: \totalnumberofpages and \setuparranging [2UP] Date: Thu, 15 Dec 2005 17:07:33 +0100 Message-ID: <97a06f070512150807l24d7f073q@mail.gmail.com> References: <43A178D5.5090703@gmx.de> Reply-To: johan.sandblom@ki.se, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134663115 12242 80.91.229.2 (15 Dec 2005 16:11:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 16:11:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 15 17:11:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Emve1-0003c1-2j for gctc-ntg-context-518@m.gmane.org; Thu, 15 Dec 2005 17:07:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6EC0E127F4; Thu, 15 Dec 2005 17:07:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12333-02; Thu, 15 Dec 2005 17:07:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD351127C1; Thu, 15 Dec 2005 17:07:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2F96127C1 for ; Thu, 15 Dec 2005 17:07:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12285-05 for ; Thu, 15 Dec 2005 17:07:35 +0100 (CET) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by ronja.ntg.nl (Postfix) with ESMTP id 5B8DB1279F for ; Thu, 15 Dec 2005 17:07:35 +0100 (CET) Original-Received: by wproxy.gmail.com with SMTP id i6so680326wra for ; Thu, 15 Dec 2005 08:07:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OqL6J2ToUvYlPvZdeuoCCjXEEN5MnWxKA9npQYrSk1i3DCO6TWEzRyLJM8eueoMiOO5gAmfbAzZTN/G5plN0BH2CELBgeZljMLsDmEoIMQ9KuYNoqamq2Vxkid1Psjdvi8XNJQeDbLHlT5R//rnOHQON5u2JE/TL/ryqs1/sYZg= Original-Received: by 10.64.251.5 with SMTP id y5mr1092948qbh; Thu, 15 Dec 2005 08:07:33 -0800 (PST) Original-Received: by 10.64.241.2 with HTTP; Thu, 15 Dec 2005 08:07:33 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: <43A178D5.5090703@gmx.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24370 Archived-At: Could it be that texexec needs to be run with texexec --arrange Johan 2005/12/15, Tobias Burnus : > 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 > _______________________________________________ > 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