From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62284 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Pierre-Fran=E7ois_Bonnefoi?= Newsgroups: gmane.comp.tex.context Subject: Re: [NTG-Context] How to compute correct page number for handout Date: Sun, 3 Oct 2010 17:25:45 +0200 Message-ID: <29283BA9-22C0-4C9B-8475-D87AB65AE679@unilim.fr> References: <4CA440AB.9020103@wxs.nl> <0D88956D-436E-4650-89C8-F2B0501E76F6@unilim.fr> <20100930121242.GA3301@gaston.couberia.bzh> <1EB5F561-DDD0-4DEB-A68D-2E5CDA8F0E64@unilim.fr> <4CA89D73.4090201@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286119568 20158 80.91.229.12 (3 Oct 2010 15:26:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 15:26:08 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 03 17:26:06 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P2QRw-0005eW-W6 for gctc-ntg-context-518@m.gmane.org; Sun, 03 Oct 2010 17:26:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B8F4CA70C; Sun, 3 Oct 2010 17:26:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RdTvS6+F-j3K; Sun, 3 Oct 2010 17:26:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAAFFCA703; Sun, 3 Oct 2010 17:26:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1C90CA703 for ; Sun, 3 Oct 2010 17:25:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CVCowz1qMCkK for ; Sun, 3 Oct 2010 17:25:48 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id AD18FCA6FF for ; Sun, 3 Oct 2010 17:25:48 +0200 (CEST) Original-Received: from smtp.unilim.fr (mail.unilim.fr [164.81.1.45]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o93FPlqI010837 for ; Sun, 3 Oct 2010 17:25:48 +0200 Original-Received: from [192.168.0.2] (nor87-1-88-167-27-236.fbx.proxad.net [88.167.27.236]) (authenticated bits=0) by smtp.unilim.fr (8.13.1/8.13.1) with ESMTP id o93FPjrr016504 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 3 Oct 2010 17:25:46 +0200 In-Reply-To: <4CA89D73.4090201@wxs.nl> X-Mailer: Apple Mail (2.1081) X-Univ-Limoges-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (smtp.unilim.fr [164.81.1.45]); Sun, 03 Oct 2010 17:25:46 +0200 (CEST) X-Univ-Limoges-MD: Pas de virus trouve X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Scanned-By: MIMEDefang 2.67 on 164.81.1.45 X-Univ-Limoges-MailScanner-Information: Serveur Anti-virus Please contact postmaster@unilim.fr for more information X-Univ-Limoges-MailScanner-ID: o93FPjrr016504 X-Univ-Limoges-MailScanner: Found to be clean X-Univ-Limoges-MailScanner-Envelope-From: pierre-francois.bonnefoi@unilim.fr X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=164.81.1.45; country=FR; region=B1; city=Limoges; latitude=45.8500; longitude=1.2500; http://maps.google.com/maps?q=45.8500,1.2500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DefpLIs - 4691628cf111 - 20101003 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62284 Archived-At: So, I've to forget it... I'm a little bit disappointed that it's not possible. But the waiting time for my students to get the lecture notes is over : I'l= l give them the handout with no page numbers. Thank you for your support. I hope that I could use MKIV in near future, kind regards, Pierre-Fran=E7ois. Le 3 oct. 2010 =E0 17:12, Hans Hagen a =E9crit : > On 3-10-2010 4:16, Pierre-Fran=E7ois Bonnefoi wrote: >> Dear Peter, >> = >> I run into some problem with font handling in MKIV so I'm stuck in MKII = for some time. >> = >> I've tried the following : >> \starttext >> \def\ChapterPrefix#1{% >> \the\numexpr\number#1/4\relax >> } >> \setupcombinedlist[content][level=3D1] >> \setuplist[chapter][after=3D,before=3D,numbercolor=3Dyellow,numbercomman= d=3D\underbar,pagecommand=3D\ChapterPrefix] > = > manipulating the number that way is just a lucky guess: pagecommand (and = numbercommand) get some text passes and it might not even be a number, as i= t all depends on conversion and special rendering > = -- = Bonnefoi Pierre-Francois | E-mail : bonnefoi@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed... 87000 Limoges - FRANCE | The Avengers. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________