Different prefixes for heads and references
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? Aditya
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: \starttext \definestructureconversionset[default][Character,number,Romannumerals,Character][number] \definestructureseparatorset [default][.,.,--][.] \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] \section {One} \subsection[sec:test]{Two} See \in[sec:test] \stoptext configuring references in on the agenda (the info is there, but not yet the way to configure) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
Aditya Mahajan wrote:
It will be great if you could get it to work by the end of September.
ok, just remind me in time Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Aditya Mahajan
-
Hans Hagen