From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62066 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: insert pagebreak in toc (MkIV) Date: Wed, 29 Sep 2010 11:06:52 +0200 Message-ID: References: <1EBC5A08-D53A-4DF2-A366-09618ACFD1B8@st.estfiles.de> <87wrq68dr0.fsf@denkblock.local> <2793A66E-6F35-4153-8F67-90005ADB28D1@st.estfiles.de> <29A651E3-7170-468F-9210-886D97F8B1CB@st.estfiles.de> <4CA2FEF5.608@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285751240 29035 80.91.229.12 (29 Sep 2010 09:07:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 09:07:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 29 11:07:18 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 1P0sdB-00032Y-Mu for gctc-ntg-context-518@m.gmane.org; Wed, 29 Sep 2010 11:07:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E3C3CA6E6; Wed, 29 Sep 2010 11:07:16 +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 Dg8plmlPg496; Wed, 29 Sep 2010 11:07:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A957CA6D6; Wed, 29 Sep 2010 11:07:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D940CA6D6 for ; Wed, 29 Sep 2010 11:07:06 +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 uZ48u7Wq3ex9 for ; Wed, 29 Sep 2010 11:06:55 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 32985CA6C0 for ; Wed, 29 Sep 2010 11:06:55 +0200 (CEST) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.28]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8T96sFg016869 for ; Wed, 29 Sep 2010 11:06:54 +0200 Original-Received: from [89.247.56.86] (helo=[192.168.1.4]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1P0scn-0005uo-Jo for ntg-context@ntg.nl; Wed, 29 Sep 2010 11:06:53 +0200 In-Reply-To: <4CA2FEF5.608@wxs.nl> X-Mailer: Apple Mail (2.1081) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.29.28; country=DE; region=02; city=Ismaning; latitude=48.2333; longitude=11.6333; http://maps.google.com/maps?q=48.2333,11.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xDcx6Sf7 - 966fad1ad336 - 20100929 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:62066 Archived-At: Am 29.09.2010 um 10:55 schrieb Hans Hagen: > On 29-9-2010 9:22, Steffen Wolfrum wrote: >> >> Am 28.09.2010 um 12:33 schrieb Mari Voipio: >> >>> On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum wrote: >>>>>> \completecontent[pageboundaries={20.3,30}] >>>> >>>> >>>> In current context it doesn't show any effect. >>>> Is it obsolete in MkIV? >>> >>> It works for me, even in the fairly complex files that I recently >>> upgraded from MKII to MKIV. I would've gone back to using MKII if it >>> didn't work... >>> >>> BTW, my magic line is >>> \placecontent[pageboundaries={5.2}] >>> >>> (I do the TOC heading separately.) >>> >>> I just tested it works, my ConTeXt is ver 2010.09.22. >> >> >> If I use eg. pageboundaries={I.} it seems to work ... but: >> it works on *all* sections with "I."!! >> >> If I want to be more precise and use pageboundaries={B.I.} it does not show any effect. >> >> So my assumption is: the pageboundaires command only works if I have a full-path list, like this ... > > wrong assumption. the page boundary mechanism has never been adapted to the new structure code > > so, I've decided to kick out pageboundaries and provide a more general mechanism > > \definelistextra[page][before=\page,after=\page] a very inspiring mechanism, great! > \starttext > > \placelist[chapter,section][criterium=text,extras={1.1=page}] > > \chapter{x1} > \section{xx1} > \section{xx2} > \chapter{y2} > \section{yy1} > \section{yy2} > > \stoptext > > the specification passed in extras uses numbers i.e. no funny conversions and strips leading and trailing zero numbered sections. :o) Steffen ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________