Am 17.03.2013 um 09:37 schrieb Steffen Wolfrum <cont...@st.estfiles.de>:

> Hi,
> 
> in October 2011 Marco asked how to get an output like this:
> 
> I Foo
> A Bar
> subsection I.A
> 
> 
> The example he posted (see below) came to this result:
> 
> I Foo
> A Bar
> subsection A
> 
> 
> Then Wolfgang added this line:
> 
> \setupreferencestructureprefix[default][prefixsegments=2:*]
> 
> 
> But running this advice with todays beta does not have any effect one Marcos 
> original example, and it does not lead to the desired ouput.
> 
> 
> Is this broken now?

This happens because the definition of \currentreferencedefault has changed and 
the settings from \setupreferencestructureprefix are ignored.

When I change the definition from

    \def\currentreferencedefault
      {\ctxcommand{filterdefaultreference()}}

to (this is the code from 2011 adapted to the current version)

    \def\currentreferencedefault
      
{\ctxcommand{filterreference("\s!default",\ctxcommand{getcurrentprefixspec("\s!default")})}}

I get the section number as prefix in the reference.

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

Reply via email to