From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63528 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Hook environment into head/structure setup Date: Mon, 15 Nov 2010 13:10:53 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289823091 5243 80.91.229.12 (15 Nov 2010 12:11:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2010 12:11:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 15 13:11:27 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 1PHxu9-0004J4-O5 for gctc-ntg-context-518@m.gmane.org; Mon, 15 Nov 2010 13:11:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 41045CA83A; Mon, 15 Nov 2010 13:11:25 +0100 (CET) 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 wO5Qp5o1ni8G; Mon, 15 Nov 2010 13:11:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F800CA83B; Mon, 15 Nov 2010 13:11:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C520ACA83B for ; Mon, 15 Nov 2010 13:11:11 +0100 (CET) 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 Z6OORzh36Ly9 for ; Mon, 15 Nov 2010 13:10:54 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id E83DACA83A for ; Mon, 15 Nov 2010 13:10:54 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAFCAssG005507 for ; Mon, 15 Nov 2010 13:10:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id ED8C1780142F for ; Mon, 15 Nov 2010 13:10:53 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28974-10-2 for ; Mon, 15 Nov 2010 13:10:53 +0100 (CET) X-CHKRCPT: Envelopesender noch andreas.harder@rz-online.de Original-Received: from [192.168.1.112] (88-134-86-12-dynip.superkabel.de [88.134.86.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 8EC3A7801358 for ; Mon, 15 Nov 2010 13:10:53 +0100 (CET) X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DvoaS8a - bbed69d35e5b - 20101115 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:63528 Archived-At: Hi all, I don't think it is yet possible, but it would be nice if there was something like: \setuphead % or perhaps \setupstructure [chapter] [beforestructure=\startlinenumbering, afterstructure=\stoplinenumbering] Which should result in: \startlinenumbering \startchapter[title=test] Text \stopchapter \stoplinenumbering Is there already a way to achieve this? I've consequently used \start-\stopchapter, maybe one can append \start-\stoplinenumbering to them? I would appreciate any help Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________