From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36160 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: start/stop and sections Date: Thu, 23 Aug 2007 00:45:11 -0400 (EDT) Message-ID: References: <46C9788C.1020700@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187844335 29652 80.91.229.12 (23 Aug 2007 04:45:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 04:45:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 23 06:45:32 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IO4ZX-0007sl-Ct for gctc-ntg-context-518@m.gmane.org; Thu, 23 Aug 2007 06:45:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCBB8202CD; Thu, 23 Aug 2007 06:45:30 +0200 (CEST) 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 09375-02-12; Thu, 23 Aug 2007 06:45:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05D9E20289; Thu, 23 Aug 2007 06:45:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E8EC120289 for ; Thu, 23 Aug 2007 06:45:18 +0200 (CEST) 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 09375-02-11 for ; Thu, 23 Aug 2007 06:45:16 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id A03F42025B for ; Thu, 23 Aug 2007 06:45:15 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (adsl-68-79-98-20.dsl.sfldmi.ameritech.net [68.79.98.20]) BY hackers.mr.itd.umich.edu ID 46CD10D9.3EFCF.13997 ; 23 Aug 2007 00:45:13 -0400 In-Reply-To: <46C9788C.1020700@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36160 Archived-At: On Mon, 20 Aug 2007, Hans Hagen wrote: > Hi, > > There is now an experimental: > > % options : > % dodo : listtext > > \setupsectionworld > [chapter] > [before after setups page text number label bookmark] > > \startsectionworld[chapter][text={Test}] > > \stopsectionworld > > Later I will adapt sectioning to working with variables (low level > issue) but this is what I needed now -) Interesting. How do you come up with code like this :) \def\csnameexpanded#1#2% {\@EA\@EA\@EA\@EA\@EA\@EA\@EA#1\@EA\@EA\@EA\@EA\@EA\@EA\@EA#2\@EA\@EA\@EA\@EA\@EA\@EA\@EA} Bookmark does not seem to work correctly. Also can the extra grouping (using begingroup) in \startsectionworld be avoided? \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \def\test{Outside value} \starttext \startsectionworld[section][text={Test},bookmark={changed}] \def\test{Inside value} This is the first chapter \stopsectionworld The value of test is \test. \stoptext Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________