Frank Grieshaber wrote:
Hello all (esp. the ConTeXt-Developers),
some time ago I sent the following email to this list and got no reply so I'm resending it.
Is there any possibility that this feature will be part of the next/one of the next ConTeXt-versions?
Frank
I'm affraid that despite the huge amount of features that "itemize" offers, it should be rewritten one day. Sometimes it doesn't really work as expected (some comments can be found in my post "\setupitemize[packed,paragraph]") and the features you are mentioning here are missing, although they would be sensible.
Dear all, I have a manuscript with long nested numbered enumerations and I want the numbers of all levels to be printed automatically like:
1. one 1.1 one-one 1.2 one-two 2. two 2.1 two-one 2.2.1 two-two-one ...
Using the following prints only the current level's number, not all levels:
\startitemize[n,packed] \item \item \startitemize[m,packed] \item \item \stopitemize \item \item \stopitemize
For Latex there is the package paralist.sty for doing the desired numbering, how can this be done with ConTeXt?
Frank
Here's a solution that: - doesn't work (well, it's actually not far away from working) - may not be taken as an example of nice programming habits: so use it at your own risk!!! (You have been warned!) - if someone can help me to define this command, it will work: % the command to be defined: \def\deleteeverythingbehindthelastdot#1{#1} \def\MyCommand{\deleteeverythingbehindthelastdot{\itemreference}} \starttext \setupitemize[1][n][indentnext=no] % what should indentnext do? % % I thought it would not try to indent further % Is there a way to itemize like % 1. one % 1.1. one-one % 1.2. one-two % 2. two % % instead of % 1. one % 1.1. one-one % 1.2. one-two % 2. two \setupitemize[2][n,3*broad][left={\MyCommand}] \setupitemize[3][n,4*broad][left={\MyCommand}] \startitemize \item bla \item blabla \startitemize \item bla \item blabla \startitemize \item bla \item blabla \stopitemize \item bla \item bla \item bla \startitemize \item bla \item blabla \stopitemize \item bla \item bla \item bla \stopitemize \item bla \startitemize \item bla \item blabla \startitemize \item bla \item blabla \stopitemize \item bla \stopitemize \item bla \item bla \stopitemize \stoptext Mojca PS: But once again - If anyone will be reading this post in the mail archive: please, don't use this trick!!! Please check first if this feature has been added in the meantime.