ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startitemize[beforehead=xxx]
@ 2005-06-03 21:15 Peter Münster
  2005-06-06  8:53 ` \startitemize[beforehead=xxx] Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2005-06-03 21:15 UTC (permalink / raw)


Hello,

does somebody know how to get some space between two \head entries in the
ConTeXt-way?

I tried the following, but without success:

\starttext
begin
\startitemize[packed][beforehead=\blank,headstyle=bold]
\head head\par
line
\head head\par
line
\head head\par
line
\stopitemize
end
\stoptext

Only with the following hack, I get the desired result:

\starttext
begin
\startitemize[packed][headstyle=bold]
\let\headO\head
\def\head{\blank\headO}
\head head\par
line
\head head\par
line
\head head\par
line
\stopitemize
end
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \startitemize[beforehead=xxx]
  2005-06-03 21:15 \startitemize[beforehead=xxx] Peter Münster
@ 2005-06-06  8:53 ` Taco Hoekwater
  2005-06-06 19:22   ` \startitemize[beforehead=xxx] Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2005-06-06  8:53 UTC (permalink / raw)




Peter Münster wrote:
> Hello,
> 
> does somebody know how to get some space between two \head entries in the
> ConTeXt-way?
> 
> I tried the following, but without success:
> 
> \starttext
> begin
> \startitemize[packed][beforehead=\blank,headstyle=bold]

You can't use packed and beforehead at the same time.

   \startitemize[beforehead=\blank,afterhead=,headstyle=bold]

Greetings, Taco

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \startitemize[beforehead=xxx]
  2005-06-06  8:53 ` \startitemize[beforehead=xxx] Taco Hoekwater
@ 2005-06-06 19:22   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2005-06-06 19:22 UTC (permalink / raw)


On Mon, 6 Jun 2005, Taco Hoekwater wrote:

> > I tried the following, but without success:
> > 
> > \starttext
> > begin
> > \startitemize[packed][beforehead=\blank,headstyle=bold]
> 
> You can't use packed and beforehead at the same time.
> 
>    \startitemize[beforehead=\blank,afterhead=,headstyle=bold]

Thanks, I understand better now!
So it seems, that "packed" is evaluated after the key=value pairs and
overwrites the before... and after... options. Ok.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-06 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-03 21:15 \startitemize[beforehead=xxx] Peter Münster
2005-06-06  8:53 ` \startitemize[beforehead=xxx] Taco Hoekwater
2005-06-06 19:22   ` \startitemize[beforehead=xxx] Peter Münster

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).