From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53666 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Prefixes in labels Date: Sun, 25 Oct 2009 10:35:32 +0100 Message-ID: <4AE41BE4.6070709@elvenkind.com> References: <18e9c2dc0907071757idd6e741l82a5f70fca1add8b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256463355 19230 80.91.229.12 (25 Oct 2009 09:35:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2009 09:35:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 25 10:35:48 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 1N1zVr-0002bj-Cb for gctc-ntg-context-518@m.gmane.org; Sun, 25 Oct 2009 10:35:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF195C9ABB; Sun, 25 Oct 2009 10:34:42 +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 gN9OIGq32Sno; Sun, 25 Oct 2009 10:34:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 55C05C9AAA; Sun, 25 Oct 2009 10:34:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4C09C9AAA for ; Sun, 25 Oct 2009 10:34: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 Wh8bAdoe26rS for ; Sun, 25 Oct 2009 10:34:35 +0100 (CET) Original-Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by balder.ntg.nl (Postfix) with ESMTP id 007A5C9A70 for ; Sun, 25 Oct 2009 10:34:34 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9P9ZXfa080101 for ; Sun, 25 Oct 2009 10:35:38 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner 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:53666 Archived-At: Albrecht Kauffmann wrote: > Hi all, > > I want to give the references in the appendix of my work a prefix "A", > e.g. eq. (\in[eq:A-somewhat]) referencing to \placeformula[eq:A-somewhat] > should produce "eq. (A-1)" if this is the first equation in the appendix. > > Does ConTeXt have this feature? If you don't mind using a slighty different command: \definereferenceformat [inAeq] [left={eq.~(A-},right={)}] \starttext \placeformula[eq:A-somewhat] \startformula a=b \stopformula See \inAeq[eq:A-somewhat] \stoptext Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________