From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24369 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: \totalnumberofpages and \setuparranging [2UP] Date: Thu, 15 Dec 2005 15:08:21 +0100 Message-ID: <43A178D5.5090703@gmx.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134655869 18353 80.91.229.2 (15 Dec 2005 14:11:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 14:11:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 15 15:11:03 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 1Emtmv-0002ZH-2G for gctc-ntg-context-518@m.gmane.org; Thu, 15 Dec 2005 15:08:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C13F2127F8; Thu, 15 Dec 2005 15:08:51 +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 11699-01; Thu, 15 Dec 2005 15:08:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72815127C1; Thu, 15 Dec 2005 15:08:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41620127C1 for ; Thu, 15 Dec 2005 15:08: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 11509-06 for ; Thu, 15 Dec 2005 15:08:42 +0100 (CET) Original-Received: from zs04.physik.fu-berlin.de (zs04.physik.fu-berlin.de [160.45.35.155]) by ronja.ntg.nl (Postfix) with ESMTP id 4540012793 for ; Thu, 15 Dec 2005 15:08:42 +0100 (CET) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by zs04.physik.fu-berlin.de with esmtp (Exim 4.60) (envelope-from ) id 1Emtmj-00077R-3G; Thu, 15 Dec 2005 15:08:41 +0100 User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050715) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Scanned: No viruses found. X-Scan-Signature: 474d812f6be6a2d113182602013e3cc8 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:24369 Archived-At: 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