Hi, Is possible to set \setupitemize *only* applying for \startitemize[a] with have [right=),stopper=]? I did not find in wiki. Only for levels, not for symbols type. Thanks in advance, Xan PS: Please Ccme
On Sun, 3 Nov 2013, Wolfgang Schuster wrote:
Am 03.11.2013 um 19:04 schrieb Xan
: Hi,
Is possible to set \setupitemize *only* applying for \startitemize[a] with have [right=),stopper=]?
I did not find in wiki. Only for levels, not for symbols type.
No, this is not supported.
One option is to use a dedicated itemgroup: \defineitemgroup[parenlist][symbol=a, right=), stopper=] \starttext \startitemize[n] \item One \item Two \startparenlist \item One \item Two \stopparenlist \item Three \startitemize[n] \item One \item Two \stopitemize \stopitemize \stoptext Aditya
Am 03.11.2013 um 20:22 schrieb Aditya Mahajan
On Sun, 3 Nov 2013, Wolfgang Schuster wrote:
Am 03.11.2013 um 19:04 schrieb Xan
: Hi,
Is possible to set \setupitemize *only* applying for \startitemize[a] with have [right=),stopper=]?
I did not find in wiki. Only for levels, not for symbols type.
No, this is not supported.
One option is to use a dedicated itemgroup:
\defineitemgroup[parenlist][symbol=a, right=), stopper=] \starttext \startitemize[n] \item One \item Two \startparenlist \item One \item Two \stopparenlist \item Three \startitemize[n] \item One \item Two \stopitemize \stopitemize \stoptext
Another trick is to use custom conversion which contain the delimiters and disable the stopper. \defineconversion[xan:a][a),b),c),d),e),f),g),h),i),j),k),l),…] \defineconversion[xan:n][1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,…] \starttext \setupitemize[each][stopper=] \startitemize[xan:a] \dorecurse{10}{\startitem Item \recurselevel \stopitem} \stopitemize \startitemize[xan:n] \dorecurse{10}{\startitem Item \recurselevel \stopitem} \stopitemize \stoptext Wolfgang
Thanks a lot, Aditya and Wolfgang, for these suggestions.
Thanks,
Xan.
On Sun, 3 Nov 2013 20:39:23 +0100
Wolfgang Schuster
Am 03.11.2013 um 20:22 schrieb Aditya Mahajan
: On Sun, 3 Nov 2013, Wolfgang Schuster wrote:
Am 03.11.2013 um 19:04 schrieb Xan
: Hi,
Is possible to set \setupitemize *only* applying for \startitemize[a] with have [right=),stopper=]?
I did not find in wiki. Only for levels, not for symbols type.
No, this is not supported.
One option is to use a dedicated itemgroup:
\defineitemgroup[parenlist][symbol=a, right=), stopper=] \starttext \startitemize[n] \item One \item Two \startparenlist \item One \item Two \stopparenlist \item Three \startitemize[n] \item One \item Two \stopitemize \stopitemize \stoptext
Another trick is to use custom conversion which contain the delimiters and disable the stopper.
\defineconversion[xan:a][a),b),c),d),e),f),g),h),i),j),k),l),…] \defineconversion[xan:n][1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,…]
\starttext
\setupitemize[each][stopper=]
\startitemize[xan:a] \dorecurse{10}{\startitem Item \recurselevel \stopitem} \stopitemize
\startitemize[xan:n] \dorecurse{10}{\startitem Item \recurselevel \stopitem} \stopitemize
\stoptext
Wolfgang
participants (3)
-
Aditya Mahajan
-
Wolfgang Schuster
-
Xan