I am using the 'repeat' directive to cause itemizations to display upper level numbers as well as lower ones, but, sometimes I want to put it on hold and just display a simple alpha enumeration For example at the third level. I can't see how to turn off the repeat. 1 1.1 1.2 a. For example here I just want the alphabetical enumerators. / b. 1.3 2. /
On 05/08/2016 12:07 AM, Henman wrote:
I am using the 'repeat' directive to cause itemizations to display upper level numbers as well as lower ones, but, sometimes I want to put it on hold and just display a simple alpha enumeration For example at the third level. I can't see how to turn off the repeat.
The source includes a norepeat keyword that should disable repetition. But I’m a afraid it doesn’t work: \setupitemgroup[itemize][1][n, repeat] \setupitemgroup[itemize][2][n, repeat] \setupitemgroup[itemize][3][a, norepeat] \starttext This is our item list: \startitemize \item ... % 1 \startitemize \item ... % 1.1 \startitemize \item ... % a \stopitemize \item ... % 1.2 \startitemize \item ... % a \item ... % b \stopitemize \stopitemize \item ... % 2 \stopitemize \stoptext I may be missing something or there might be a bug here. Pablo -- http://www.ousia.tk
Hi Pablo, You are right, the « norepeat » key does not work any more, but I do not know when the change, or th ebug, was introduced. In the « Teste Suite » there is a file entitled « repeat-001.tex » which used to give the behavoir expected by Henman and you, but when typeset now it gives something different. Compare the two attached PDF files (repeat-001.pdf is the old PDF obtained in 2012, while repeat-001-bis.pdf is the same file typeset with the latest beta, version 2016-05-08 01:35). Best regards: OK
On 08 May 2016, at 11:10, Pablo Rodriguez
wrote: On 05/08/2016 12:07 AM, Henman wrote:
I am using the 'repeat' directive to cause itemizations to display upper level numbers as well as lower ones, but, sometimes I want to put it on hold and just display a simple alpha enumeration For example at the third level. I can't see how to turn off the repeat.
The source includes a norepeat keyword that should disable repetition.
But I’m a afraid it doesn’t work:
\setupitemgroup[itemize][1][n, repeat] \setupitemgroup[itemize][2][n, repeat] \setupitemgroup[itemize][3][a, norepeat]
\starttext
This is our item list:
\startitemize \item ... % 1 \startitemize \item ... % 1.1 \startitemize \item ... % a \stopitemize \item ... % 1.2 \startitemize \item ... % a \item ... % b \stopitemize \stopitemize \item ... % 2 \stopitemize
\stoptext
I may be missing something or there might be a bug here.
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Pablo Rodriguez mailto:oinos@gmx.es 8. Mai 2016 um 11:10
The source includes a norepeat keyword that should disable repetition.
But I’m a afraid it doesn’t work:
\setupitemgroup[itemize][1][n, repeat] \setupitemgroup[itemize][2][n, repeat] \setupitemgroup[itemize][3][a, norepeat] Move "norepeat" to the second level setup.
\setupitemgroup[itemize][1][n,repeat] \setupitemgroup[itemize][2][n,norepeat] \setupitemgroup[itemize][3][a] Wolfgang
On 05/08/2016 06:50 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 8. Mai 2016 um 11:10
The source includes a norepeat keyword that should disable repetition.
But I’m a afraid it doesn’t work:
\setupitemgroup[itemize][1][n, repeat] \setupitemgroup[itemize][2][n, repeat] \setupitemgroup[itemize][3][a, norepeat]
Move "norepeat" to the second level setup.
\setupitemgroup[itemize][1][n,repeat] \setupitemgroup[itemize][2][n,norepeat] \setupitemgroup[itemize][3][a]
Many thanks for your reply, Wolfgang. That makes everything clear to me. Pablo -- http://www.ousia.tk
participants (4)
-
Henman
-
Otared Kavian
-
Pablo Rodriguez
-
Wolfgang Schuster