Problem with an enumeration
Hello, Wolfgang helped me to get this: 1.a. b. c. 2.a b. c. I have unfortunately lost the code he had proposed to me. I get this: 1.a. 1b 1 C 2.a 2.b 2.c Thanks Fabrice \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,intext,n}] \setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,intext,a}]
On 07/31/2018 12:18 PM, Fabrice Couvreur wrote:
Hello, Wolfgang helped me to get this:
1.a. b. c. 2.a b. c.
I have unfortunately lost the code he had proposed to me. I get this:
1.a. 1b 1 C 2.a 2.b 2.c
Hi Fabrice, I don’t get your output. I had to remove the "intext" option and I guess I got what you intend: \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,n}] \setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,a}] \starttext \startitemize \item \startitemize \item \input zapf \item \input knuth \item \input montgomery \stopitemize \item \startitemize \item \input zapf \item \input knuth \item \input montgomery \stopitemize \stopitemize \stoptext I hope it helps, Pablo -- http://www.ousia.tk
Hi Pablo,
That's not what I'm looking for but rather this:
*1.a.* blablablabla
blablablabla
*b.* blablablabla
blablablabla
*c.* blablablabla
blablablabla
Which explains the use of the key intext
Fabrice
2018-07-31 13:31 GMT+02:00 Pablo Rodriguez
On 07/31/2018 12:18 PM, Fabrice Couvreur wrote:
Hello, Wolfgang helped me to get this:
1.a. b. c. 2.a b. c.
I have unfortunately lost the code he had proposed to me. I get this:
1.a. 1b 1 C 2.a 2.b 2.c
Hi Fabrice,
I don’t get your output. I had to remove the "intext" option and I guess I got what you intend:
\setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,n}]
\setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,a}]
\starttext \startitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \stopitemize \stoptext
I hope it helps,
Pablo -- http://www.ousia.tk ____________________________________________________________ _______________________ 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 ____________________________________________________________ _______________________
On 07/31/2018 11:58 PM, Fabrice Couvreur wrote:
Hi Pablo, That's not what I'm looking for but rather this:
*1.a.* blablablabla blablablabla *b.* blablablabla blablablabla *c.* blablablabla blablablabla
Which explains the use of the key intext
Hi Fabrice, this is the best I get: \setupitemgroup [itemize][1] [color=darkred, option={packed,fit,paragraph,n}] \setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,intext,a}] Otherwise, deploying the option "intext" seems to handle the width of first itemization level as zero. Just in case it helps, Pablo -- http://www.ousia.tk
Hi Fabrice, I found the following example in my mail archive. %%%%%% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, distance=0pt] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand] \setupitemgroup [itemize:2] [lefttext=, righttext=, option={a,text}] \starttext \startitemize \item We thrive in \unknown \item \startitemize \item \input tufte\par \item \input tufte \stopitemize \stopitemize \stoptext %%%%%% PS. If you want an answer from me you should add me to cc because I have problems getting mails from the list. Wolfgang Fabrice Couvreur schrieb am 31.07.18 um 23:58:
Hi Pablo, That's not what I'm looking for but rather this:
*1.a.* blablablabla blablablabla *b.* blablablabla blablablabla *c.* blablablabla blablablabla
Which explains the use of the key intext Fabrice
2018-07-31 13:31 GMT+02:00 Pablo Rodriguez
mailto:oinos@gmx.es>: On 07/31/2018 12:18 PM, Fabrice Couvreur wrote: > Hello, > Wolfgang helped me to get this: > > 1.a. > b. > c. > 2.a > b. > c. > > I have unfortunately lost the code he had proposed to me. I get this: > > 1.a. > 1b > 1 C > 2.a > 2.b > 2.c
Hi Fabrice,
I don’t get your output. I had to remove the "intext" option and I guess I got what you intend:
\setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,n}]
\setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,a}]
\starttext \startitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \stopitemize \stoptext
I hope it helps,
Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context 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/ 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 ___________________________________________________________________________________
Hi Wolfgang, Thank you very much ! Fabrice 2018-08-01 21:21 GMT+02:00 Wolfgang Schuster < wolfgang.schuster.lists@gmail.com>:
Hi Fabrice,
I found the following example in my mail archive.
%%%%%% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace}
\setupitemgroup [itemize] [color=darkred, distance=0pt]
\setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand]
\setupitemgroup [itemize:2] [lefttext=, righttext=, option={a,text}]
\starttext
\startitemize
\item We thrive in \unknown
\item \startitemize \item \input tufte\par \item \input tufte \stopitemize
\stopitemize
\stoptext %%%%%%
PS. If you want an answer from me you should add me to cc because I have problems getting mails from the list.
Wolfgang
Fabrice Couvreur schrieb am 31.07.18 um 23:58:
Hi Pablo, That's not what I'm looking for but rather this:
*1.a.* blablablabla blablablabla *b.* blablablabla blablablabla *c.* blablablabla blablablabla
Which explains the use of the key intext Fabrice
2018-07-31 13:31 GMT+02:00 Pablo Rodriguez
: On 07/31/2018 12:18 PM, Fabrice Couvreur wrote:
Hello, Wolfgang helped me to get this:
1.a. b. c. 2.a b. c.
I have unfortunately lost the code he had proposed to me. I get this:
1.a. 1b 1 C 2.a 2.b 2.c
Hi Fabrice,
I don’t get your output. I had to remove the "intext" option and I guess I got what you intend:
\setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,n}]
\setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,a}]
\starttext \startitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \item \startitemize \item \input zapf
\item \input knuth
\item \input montgomery \stopitemize \stopitemize \stoptext
I hope it helps,
Pablo -- http://www.ousia.tk ____________________________________________________________ _______________________ 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/list info/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 ___________________________________________________________________________________
participants (3)
-
Fabrice Couvreur
-
Pablo Rodriguez
-
Wolfgang Schuster