Use
\startitemize[A,text][lefttext=,righttext=,stopper=]
then.
Maybe that's the new way.
Sylvain Hubert via ntg-context
Thanks, but this doesn't seem to work on my laptop:
\starttext \startitemize[A,text][left=,right=,stopper=] \item 1 \item 2 \stopitemize \stoptext
%output: (A) 1 (B) 2
On 07/09/2021, fv leung via ntg-context
wrote: I add
left=,right=,
in the second option group.
在 2021年9月7日週二 07:02,Sylvain Hubert via ntg-context
寫道: A few more information:
For the 1st problem:
It seems that \setupitemize accepts two option groups, to which n,packed and margin belong accordingly. However, \setupitemize[n][margin=2em] does not seem to work.
For the 2nd problem:
\setupitemize[columns,one], although doing nothing in theory, seems to fix the problem.
For the 4th problem:
I've found that we can do \setupitemize[A,text] which makes it like
(A.) 0 (B.) 1 (C.) 2 (D.) 3
The problem now is, how can we remove the parentheses around the item labels?
On 07/09/2021, Sylvain Hubert
wrote: 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
___________________________________________________________________________________ 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
___________________________________________________________________________________