Re: [NTG-context] [right=),stopper=] for all \startitemize[a]
Thanks a lot, Aditya and Wolfgang, for these suggestions. Thanks, Xan. On Sun, 3 Nov 2013 20:39:23 +0100 Wolfgang Schuster wolfgang.schus...@gmail.com ha escrit: Am 03.11.2013 um 20:22 schrieb Aditya Mahajan adit...@umich.edu: On Sun, 3 Nov 2013, Wolfgang Schuster wrote: Am 03.11.2013 um 19:04 schrieb Xan dxpubl...@telefonica.net: 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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [right=),stopper=] for all \startitemize[a]
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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [right=),stopper=] for all \startitemize[a]
Am 03.11.2013 um 19:04 schrieb Xan dxpubl...@telefonica.net: 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. Wolfgang ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [right=),stopper=] for all \startitemize[a]
On Sun, 3 Nov 2013, Wolfgang Schuster wrote: Am 03.11.2013 um 19:04 schrieb Xan dxpubl...@telefonica.net: 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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [right=),stopper=] for all \startitemize[a]
Am 03.11.2013 um 20:22 schrieb Aditya Mahajan adit...@umich.edu: On Sun, 3 Nov 2013, Wolfgang Schuster wrote: Am 03.11.2013 um 19:04 schrieb Xan dxpubl...@telefonica.net: 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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___