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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to