From: "śrīrāma via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
A A <amine.aboufirass@gmail.com>
Cc: śrīrāma <citturs@gmail.com>
Subject: Re: Proper formatting of itemized bullets in ConTeXt
Date: Wed, 13 Apr 2022 07:39:06 +0530 [thread overview]
Message-ID: <5813959.lOV4Wx5bFT@sreeramtplt> (raw)
In-Reply-To: <11959935.O9o76ZdvQC@sreeramtplt>
On 4/13/22 7:37 AM śrīrāma wrote:
> I revisited this today after the (frankly) subpar solution I presented yesterday. With the below example, we
> • neither lose the nice features of \setupitemgroup
> • nor do we need grouping of the items.
> The only 'price to pay' is to use \citem (comma item) and \pitem (period item) as required.
cleaned up the example –
%% start example
\def\citem{\item\AfterPar{\hspace[-normal],}\GetPar}
\def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar}
\defineitemgroup
[pitemize]
[command=\Word]
\starttext
\startpitemize[n]
\citem first item
\citem second item
\citem third item
\pitem fourth item
\stoppitemize
\stoptext
%% stop example
Sreeram
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2022-04-13 2:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-12 8:27 A A via ntg-context
2022-04-12 14:43 ` śrīrāma via ntg-context
2022-04-13 2:07 ` śrīrāma via ntg-context
2022-04-13 2:09 ` śrīrāma via ntg-context [this message]
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=5813959.lOV4Wx5bFT@sreeramtplt \
--to=ntg-context@ntg.nl \
--cc=amine.aboufirass@gmail.com \
--cc=citturs@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).