ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Benjamin Buchmuller via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Benjamin Buchmuller <benjamin.buchmuller@gmail.com>
Subject: Re: Problem with \head inside \itemize
Date: Tue, 21 Dec 2021 14:04:34 +0100	[thread overview]
Message-ID: <55B189B8-85F0-4A5E-96E1-DAB58A93F147@gmail.com> (raw)

Not sure if this is the behavior to expect, but I would like to get formatted inline headers in itemize like:

– Unformatted item.
– *Head One.* Something bla bla.
– *Head Two.* Other bla bla.

From:

\setupitemize[each][2, headintext]
% \setupitemize[each][headstyle={\groupedcommand{\bf}{.\space\tf}}]
\setupitemize[each][headcolor=red, headstyle=bold]

\startitemize
\item Unformatted item.
\head Head One \par Something bla bla.
\starthead Head Two \stophead Other bla bla. % Even worse: No inline any more.
\stopitemize

However, headstyle= and headcolor= seem to spill all over … Is it a feature or a bug?

Thanks


Benjamin
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2021-12-21 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 13:04 Benjamin Buchmuller via ntg-context [this message]
2021-12-21 17:03 ` Wolfgang Schuster via ntg-context
2021-12-23  8:06   ` Benjamin Buchmuller via ntg-context
  -- strict thread matches above, loose matches on Subject: below --
2021-11-22 13:15 Jean-Philippe Rey via ntg-context
2021-11-22 13:30 ` Taco Hoekwater via ntg-context
2021-11-22 14:59   ` Hans Hagen via ntg-context

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=55B189B8-85F0-4A5E-96E1-DAB58A93F147@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=benjamin.buchmuller@gmail.com \
    /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).