Am 11.06.2013 um 14:22 schrieb Jan Pohanka <xhpoha...@gmail.com>:

> Hi,
> 
> just another newbie question
> 
> \setuphead[section]
>     [command=\MyCommand]
> 
> \define[2]\MyCommand%
>     {\convertnumber{I}{#1} --- #2}
> 
> \convertnumber does not work on command parameter. What am I doing wrong? I 
> know that I can use conversion key in setuphead, but I need slightly more 
> complicated command.

Use \setuphead[section][conversion=I], you can’t use \convertnumber
because the first argument is the formatted (styles and colors are applied)
content of the section number.

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