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
>> 
>> \setuplabeltext[en][section={}{Section]
>> 
>> \setuphead[section][alternative=mysection]
>> 
>> 
> It seams that my context does not know definesectionalternative


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}]

\setuphead
  [section]
  [alternative=mysection,
   conversion=I,
   sectionstopper=.]

\starttext 
\section{Test}
\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
___________________________________________________________________________________

Reply via email to