Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez:

> Hi there,
> 
> I'm not able to compile this code using the latest beta:
> 
> \definedescription[optionlisting][hang=fit]
> \starttext
> \optionlisting{range} especifica espectro
> \stoptext
> 
> Just in case it helps,

1. You need a empty line or \par at the end of the description (or use 
\startoptionlisting … \stopoptionlisting)

2. Change this in strc-con.mkvi

\def\strc_constructions_set_hang#1%
  {\edef\p_hang{\constructionparameter\c!hang}%
   \ifx\p_hang\empty
   \else\ifx\p_hang\v!fit
     \scratchdimen\htdp\constructionheadbox
     \getnoflines\scratchdimen
     \hangafter-\noflines
   \else\ifx\p_hang\v!broad
     \scratchdimen\dimexpr\htdp\constructionheadbox+.5\strutht\relax
     \getnoflines\scratchdimen
     \hangafter-\noflines
   \else
     \hangafter-\p_hang
-  \fi
+  \fi\fi\fi
   \relax
   \hangindent\ifx#1\v!right-\fi\constructionsheadwidth}

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