* [right=),stopper=] for all \startitemize[a] @ 2013-11-03 18:04 Xan 2013-11-03 19:09 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Xan @ 2013-11-03 18:04 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [right=),stopper=] for all \startitemize[a] 2013-11-03 18:04 [right=),stopper=] for all \startitemize[a] Xan @ 2013-11-03 19:09 ` Wolfgang Schuster 2013-11-03 19:22 ` Aditya Mahajan 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2013-11-03 19:09 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Xan Am 03.11.2013 um 19:04 schrieb Xan <dxpublica@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [right=),stopper=] for all \startitemize[a] 2013-11-03 19:09 ` Wolfgang Schuster @ 2013-11-03 19:22 ` Aditya Mahajan 2013-11-03 19:39 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Aditya Mahajan @ 2013-11-03 19:22 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, 3 Nov 2013, Wolfgang Schuster wrote: > > Am 03.11.2013 um 19:04 schrieb Xan <dxpublica@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [right=),stopper=] for all \startitemize[a] 2013-11-03 19:22 ` Aditya Mahajan @ 2013-11-03 19:39 ` Wolfgang Schuster 2013-11-04 14:41 ` Xan 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2013-11-03 19:39 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Xan Am 03.11.2013 um 20:22 schrieb Aditya Mahajan <adityam@umich.edu>: > On Sun, 3 Nov 2013, Wolfgang Schuster wrote: > >> >> Am 03.11.2013 um 19:04 schrieb Xan <dxpublica@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [right=),stopper=] for all \startitemize[a] 2013-11-03 19:39 ` Wolfgang Schuster @ 2013-11-04 14:41 ` Xan 0 siblings, 0 replies; 5+ messages in thread From: Xan @ 2013-11-04 14:41 UTC (permalink / raw) To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users Thanks a lot, Aditya and Wolfgang, for these suggestions. Thanks, Xan. On Sun, 3 Nov 2013 20:39:23 +0100 Wolfgang Schuster <wolfgang.schuster@gmail.com> ha escrit: > > Am 03.11.2013 um 20:22 schrieb Aditya Mahajan <adityam@umich.edu>: > > > On Sun, 3 Nov 2013, Wolfgang Schuster wrote: > > > >> > >> Am 03.11.2013 um 19:04 schrieb Xan <dxpublica@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-11-04 14:41 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-11-03 18:04 [right=),stopper=] for all \startitemize[a] Xan 2013-11-03 19:09 ` Wolfgang Schuster 2013-11-03 19:22 ` Aditya Mahajan 2013-11-03 19:39 ` Wolfgang Schuster 2013-11-04 14:41 ` Xan
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).