ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* First space shown in a referenced itemize head
@ 2006-04-22  9:58 nico
  0 siblings, 0 replies; only message in thread
From: nico @ 2006-04-22  9:58 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-22  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-22  9:58 First space shown in a referenced itemize head nico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).