Re: [NTG-context] \convertnumber with macro parameter

2013-06-12 Thread Jan Pohanka
Has to be \defineheadalternative: \defineheadalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={, Section}]

[NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
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

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
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

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
\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

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
Am 11.06.2013 um 14:36 schrieb Jan Pohanka xhpoha...@gmail.com: \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

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
\definesectionalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={}{Section]

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
Am 11.06.2013 um 15:53 schrieb Jan Pohanka xhpoha...@gmail.com: \definesectionalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups