From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52436 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Different prefixes for heads and references Date: Tue, 18 Aug 2009 14:16:15 -0400 (EDT) Message-ID: References: <4A8AA6A6.3070705@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250619415 13583 80.91.229.12 (18 Aug 2009 18:16:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2009 18:16:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 18 20:16: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 1MdTEj-0002oJ-MD for gctc-ntg-context-518@m.gmane.org; Tue, 18 Aug 2009 20:16:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2BA8C9AB7; Tue, 18 Aug 2009 20:16:44 +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 NRxxNyMtiEXx; Tue, 18 Aug 2009 20:16:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C515C9A92; Tue, 18 Aug 2009 20:16:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31070C9A92 for ; Tue, 18 Aug 2009 20:16:38 +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 J8iuhbYjfoKu for ; Tue, 18 Aug 2009 20:16:32 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by balder.ntg.nl (Postfix) with ESMTP id 234ACC9A63 for ; Tue, 18 Aug 2009 20:16:31 +0200 (CEST) Original-Received: FROM dhcp128036154103.central.yale.edu (dhcp128036154103.central.yale.edu [128.36.154.103]) By hackers.mr.itd.umich.edu ID 4A8AEFFE.5EC8B.8599 ; Authuser adityam; 18 Aug 2009 14:16:30 EDT In-Reply-To: <4A8AA6A6.3070705@wxs.nl> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:52436 Archived-At: On Tue, 18 Aug 2009, Hans Hagen wrote: > Aditya Mahajan wrote: >> Hi, >> >> How do I get different prefixes for heads and numbers. For example, I want >> >> %------------------------- >> \section {One} >> >> \subsection[sec:test]{Two} >> >> See \in[sec:test] >> %------------------------ >> >> to give >> >> %------------------ >> I One >> A) Two >> >> See I-A. >> %-------------------- >> >> I tried playing around conversionsets, prefixsets, etc. but could not >> figure out how to do this. Is something like this possible with the new >> structure code? > > this already works: > > \definestructureconversionset[default][Character,number,Romannumerals,Character][number] > \definestructureseparatorset [default][.,.,--][.] > > \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] Thanks, this is slightly cleaner than the MkII way of achieving the same thing. > configuring references in on the agenda (the info is there, but not yet the > way to configure) It will be great if you could get it to work by the end of September. 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 ___________________________________________________________________________________