ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: First space shown in a referenced itemize head
Date: Sat, 22 Apr 2006 11:58:15 +0200	[thread overview]
Message-ID: <ops8elzdz69niby6@localhost> (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

                 reply	other threads:[~2006-04-22  9:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ops8elzdz69niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).