From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24208 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \totalnumberofpages & texexec --pages=1:2 Date: Wed, 07 Dec 2005 17:03:33 +0100 Message-ID: <439707D5.4090804@wxs.nl> References: <4396B662.6040705@gmx.de> <3076C31D-FBB7-40D9-87B4-9D539E151DAD@uni-bonn.de> <4396DDD1.9040801@gmx.de> <4396E874.2060909@wxs.nl> <4396ED5A.4060002@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133971672 20611 80.91.229.2 (7 Dec 2005 16:07:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2005 16:07:52 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 07 17:07:49 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 1Ek1lh-0001fc-OL for gctc-ntg-context-518@m.gmane.org; Wed, 07 Dec 2005 17:03:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01FBB127C3; Wed, 7 Dec 2005 17:03:45 +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 15894-04; Wed, 7 Dec 2005 17:03:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 89484127B5; Wed, 7 Dec 2005 17:03:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5B8A127B5 for ; Wed, 7 Dec 2005 17:03:39 +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 15953-02 for ; Wed, 7 Dec 2005 17:03:38 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id D54FB127A8 for ; Wed, 7 Dec 2005 17:03:38 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 6820 for ; Wed, 07 Dec 2005 17:09:30 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4396ED5A.4060002@gmx.de> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:24208 Archived-At: 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