From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55328 Path: news.gmane.org!not-for-mail From: "Wolfgang Murth" Newsgroups: gmane.comp.tex.context Subject: Numbered Labels Date: Sat, 26 Dec 2009 12:54:13 +0100 Message-ID: <374B06F227994CD591AFB0633C93E0AC@rechenknecht> 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: ger.gmane.org 1261828488 10779 80.91.229.12 (26 Dec 2009 11:54:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2009 11:54:48 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 26 12:54:38 2009 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.50) id 1NOVED-00025u-9z for gctc-ntg-context-518@m.gmane.org; Sat, 26 Dec 2009 12:54:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59EA8C9B99; Sat, 26 Dec 2009 12:54:37 +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 7f9gUk6X+y7k; Sat, 26 Dec 2009 12:54:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B847DC9BB9; Sat, 26 Dec 2009 12:54:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D984CC9BB9 for ; Sat, 26 Dec 2009 12:54:23 +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 pisgH9RyKryP for ; Sat, 26 Dec 2009 12:54:21 +0100 (CET) Original-Received: from mx02.kabsi.at (mx02.kabsi.at [62.40.128.130]) by balder.ntg.nl (Postfix) with ESMTP id 884BAC9B99 for ; Sat, 26 Dec 2009 12:54:21 +0100 (CET) Original-Received: from wmsmt.com (h062040168157.moe.cm.kabsi.at [62.40.168.157]) by mx02.kabsi.at (8.13.6/8.13.6) with SMTP id nBQBsJru023079 for ; Sat, 26 Dec 2009 12:54:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by wmsmt.com (The New Lupemail, Fighting agains SPAM) with ESMTP id 197D0D40AC0 for ; Sat, 26 Dec 2009 12:54:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at Original-Received: from wmsmt.com ([127.0.0.1]) by localhost (herbst.wmsmt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RZKWS4bw37ca for ; Sat, 26 Dec 2009 12:54:53 +0100 (CET) Original-Received: from rechenknecht (unknown [192.168.3.80]) by wmsmt.com (The New Lupemail, Fighting agains SPAM) with ESMTP id 6BC14D56116 for ; Sat, 26 Dec 2009 12:54:53 +0100 (CET) X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcqGIiTNfQO9cax0Q8aRQJDVzIeNEQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 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:55328 Archived-At: Hi all, For a rulebook I wanted to use numbered labels in the margin for each rule like in the manual in chapter 10.5. But I dont get the chapter or section number before the rulenumber. I.e. I only get "Rule 2" instead of "Rule 4.2". How can i manage this? In the Wiki are no hints about that. Below a minimal example of what I tried. Thanks for your help. With sunny greetings from Austria Wolfgang Murth %------------------------------------------------------------------ \definelabel[rule][text=Rule,location=inmargin,before=, after=, way=bysection] \starttext \chapter{test} \rule this is a simple test \section{Section A} \rule[1] this is a simple test \rule this is a simple test \rule this is a simple test \rule this is a simple test \rule this is a simple test \section{Section B} \rule this is a simple test \rule this is a simple test \rule this is a simple test \rule this is a simple test \stoptext %------------------------------------------------------------------ ___________________________________________________________________________________ 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 ___________________________________________________________________________________