Hi Wolfgang, and Joerg,

Actually with your code and using numberstopper instead of stopper your example 
works fine here, too.
So the right command is
        \setupcaption[figure][numberstopper={:}]
and not what I wrote before (which works in mkii, though…).
Actually the command used by Joerg, that is
        \setupcaptions[numberstopper={:}]
works also.

Best regards: OK

> On 12 Feb 2015, at 22:31, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
> 
>> Am 12.02.2015 um 17:37 schrieb j. van den hoff <veedeeh...@googlemail.com>:
>> 
>> 
>> I want to use `numberstopper' for figure caption customization like so:
>> 
>> \setupcaptions[numberstopper={:}]
>> 
>> this works fine for the caption itself (i.e. I get, e.g. "Figure 1:
>> caption text") _but_
>> references to the figure via a defined label such as [fig:example]
>> in the body text do include the numberstopper, too, which is highly
>> undesirable in my view, since, e.g.,
>> 
>> "... see Figure 1: for an example. ..."
>> 
>> should rather read
>> 
>> "... see Figure 1 for an example. ..."
>> 
>> i.e. the numberstopper should be omitted (at least optionally) when
>> referencing.
>> 
>> question: how can this be achieved?
> 
> 
> Can you make a example because I can’t reproduce the problem you describe.
> 
> \setupexternalfigure[location=default]
> 
> \setupcaption[figure][numberstopper=:]
> 
> \starttext
> 
> Take a look at \at{picture}[fig:cow] below.
> 
> \startplacefigure[reference=fig:cow,title=A dutch cow]
>  \externalfigure[cow]
> \stopplacefigure
> 
> \stoptext
> 
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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