ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Enumerations
@ 2016-05-07 22:07 Henman
  2016-05-08  9:10 ` Enumerations Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Henman @ 2016-05-07 22:07 UTC (permalink / raw)
  To: Context Users Group

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.
/
___________________________________________________________________________________
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: Enumerations
  2016-05-07 22:07 Enumerations Henman
@ 2016-05-08  9:10 ` Pablo Rodriguez
  2016-05-08 16:42   ` Enumerations Otared Kavian
  2016-05-08 16:50   ` Enumerations Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2016-05-08  9:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Enumerations
  2016-05-08  9:10 ` Enumerations Pablo Rodriguez
@ 2016-05-08 16:42   ` Otared Kavian
  2016-05-08 16:50   ` Enumerations Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2016-05-08 16:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

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


[-- Attachment #2: repeat-001.pdf --]
[-- Type: application/pdf, Size: 5631 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




[-- Attachment #4: repeat-00-bis.pdf --]
[-- Type: application/pdf, Size: 5489 bytes --]

[-- Attachment #5: Type: text/plain, Size: 1797 bytes --]


> On 08 May 2016, at 11:10, Pablo Rodriguez <oinos@gmx.es> 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
> ___________________________________________________________________________________


[-- Attachment #6: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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: Enumerations
  2016-05-08  9:10 ` Enumerations Pablo Rodriguez
  2016-05-08 16:42   ` Enumerations Otared Kavian
@ 2016-05-08 16:50   ` Wolfgang Schuster
  2016-05-08 20:28     ` Enumerations Pablo Rodriguez
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2016-05-08 16:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1545 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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: Enumerations
  2016-05-08 16:50   ` Enumerations Wolfgang Schuster
@ 2016-05-08 20:28     ` Pablo Rodriguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2016-05-08 20:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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:[~2016-05-08 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-07 22:07 Enumerations Henman
2016-05-08  9:10 ` Enumerations Pablo Rodriguez
2016-05-08 16:42   ` Enumerations Otared Kavian
2016-05-08 16:50   ` Enumerations Wolfgang Schuster
2016-05-08 20:28     ` Enumerations Pablo Rodriguez

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).