From: Sylvain Hubert via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Sylvain Hubert <champignoom@gmail.com>
Subject: itemize problems
Date: Tue, 7 Sep 2021 00:40:24 +0200 [thread overview]
Message-ID: <CACNy3NC30MmWhjttHvd8R6V_K=2j=f-V5eNm+vFQ-=1B7QDtjw@mail.gmail.com> (raw)
Dear List,
Here's a collection of four problems about item groups that I've just
encountered.
1. 'n' and 'packed' not playing well with other options.
This works:
\defineitemgroup[myitems][itemize][margin=2em,before=before]
\setupmyitems[n,packed]
\starttext
text
\startmyitems
\item 1
\item 2
\stopmyitems
\stoptext
This does not:
\defineitemgroup[myitems][itemize][margin=2em,before=before,n,packed]
This does not either:
\defineitemgroup[myitems][itemize]
\setupmyitems[n,packed,margin=2em,before=before]
Is there a rule for this glitch which makes it worth memorizing, or is
this just a bug?
2. 'before' not working in nested item groups.
\starttext
\startitemize[before=before1]
\item 1
\startitemize[before=before2]
\item 2
\stopitemize
\stopitemize
\stoptext
Both before1 and before2 should appear, but only before1 is shown.
3. How to wrap the line under the bulletin or number?
To be more precise, the current wrapping behavior of, say, "\item 0 1
2 3 4 5 6 7 8 9" is:
* 0 1 2 3 4 5 6 7
8 9
How can we remove the indentation of the second line and make it like
* 0 1 2 3 4 5 6 7
8 9
4. How to put the items on the same line?
That is, for "\item 0 \item 1 \item 2", I would like it to be like
* 0 * 1 * 2
instead of
* 0
* 1
* 2
My context version: 2021.03.05 19:11, texlive.
Any help with any of the problems above would be greatly appreciated.
Best,
Sylvain
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2021-09-06 22:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-06 22:40 Sylvain Hubert via ntg-context [this message]
2021-09-06 23:02 ` Sylvain Hubert via ntg-context
2021-09-06 23:32 ` fv leung via ntg-context
2021-09-07 8:32 ` Sylvain Hubert via ntg-context
2021-09-07 8:50 ` fv leung via ntg-context
2021-09-07 9:00 ` Sylvain Hubert 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='CACNy3NC30MmWhjttHvd8R6V_K=2j=f-V5eNm+vFQ-=1B7QDtjw@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=champignoom@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).