[NTG-context] First space shown in a referenced itemize head

nico nicolas.marsgui at libertysurf.fr
Sat Apr 22 11:58:15 CEST 2006


Hello,

When a reference is set to \head, a space after the square brackets  
appears in the output. Shouldn't it be ignored? Applying a reference to  
\item does not show the problem.

Besides, what is the best way to put item or head text in square brackets?  
Using \relax works but I'm not sure if it's the recommended method.

Here is an example:

\starttext

\startitemize[n][headstyle=bold]
\head Head1 \par
       Body1
\head         Head2 \par
       Body2
\head[u]Head3 \par
       Body3
\head[v] Head4 \par
       Body4
\head[v]      Head4 \par
       Body4
\head\relax[Head in brackets] \par
       Body5
\head\relax  [Head in brackets] \par
       Body6
\item Item1
\item   Item2
\item[w]Item3
\item[x] Item4
\item[y]     Item4
\item\relax[Item in bracket]
\item\relax  [Item in bracket]
\stopitemize

\stoptext

Regards,
BG


More information about the ntg-context mailing list