ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupenumerations overwriting setupitemize
@ 2014-02-20 13:45 Thomas Möbius
  2014-02-20 13:52 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Möbius @ 2014-02-20 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

A general question.  I use setupenumerations to define theorem-,
lemma-, and definition-environments for my document.  I realised that
setupenumerations is overwriting keys that are set in setupitemize
(and groups defined by defineitemgroup).

~~~snip~~~
\setupenumerations [numberconversion=numbers]

\starttext
\startitemize[a]
  \item Text Text
  \item Text Text
\stopitemize
\stoptext
~~~snip~~~

vs.

~~~snip~~~
%\setupenumerations [numberconversion=numbers]

\starttext
\startitemize[a]
  \item Text Text
  \item Text Text
\stopitemize
\stoptext
~~~snip~~~

This is unintuitive for me.. Is this expected behaviour??
___________________________________________________________________________________
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] 3+ messages in thread

* Re: setupenumerations overwriting setupitemize
  2014-02-20 13:45 setupenumerations overwriting setupitemize Thomas Möbius
@ 2014-02-20 13:52 ` Wolfgang Schuster
  2014-02-20 14:09   ` Thomas Friedrich
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-02-20 13:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 20.02.2014 um 14:45 schrieb Thomas Möbius <kontakt@thomasmoebius.de>:

> A general question.  I use setupenumerations to define theorem-,
> lemma-, and definition-environments for my document.  I realised that
> setupenumerations is overwriting keys that are set in setupitemize
> (and groups defined by defineitemgroup).
> 
> ~~~snip~~~
> \setupenumerations [numberconversion=numbers]
> 
> \starttext
> \startitemize[a]
>  \item Text Text
>  \item Text Text
> \stopitemize
> \stoptext
> ~~~snip~~~
> 
> vs.
> 
> ~~~snip~~~
> %\setupenumerations [numberconversion=numbers]
> 
> \starttext
> \startitemize[a]
>  \item Text Text
>  \item Text Text
> \stopitemize
> \stoptext
> ~~~snip~~~
> 
> This is unintuitive for me.. Is this expected behavior??

What is the problem, I can’t see a difference in the output of both examples?

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] 3+ messages in thread

* Re: setupenumerations overwriting setupitemize
  2014-02-20 13:52 ` Wolfgang Schuster
@ 2014-02-20 14:09   ` Thomas Friedrich
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Friedrich @ 2014-02-20 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2014-02-20 14:52 GMT+01:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
>
> Am 20.02.2014 um 14:45 schrieb Thomas Möbius <kontakt@thomasmoebius.de>:
>
>> A general question.  I use setupenumerations to define theorem-,
>> lemma-, and definition-environments for my document.  I realised that
>> setupenumerations is overwriting keys that are set in setupitemize
>> (and groups defined by defineitemgroup).
>>
>> ~~~snip~~~
>> \setupenumerations [numberconversion=numbers]
>>
>> \starttext
>> \startitemize[a]
>>  \item Text Text
>>  \item Text Text
>> \stopitemize
>> \stoptext
>> ~~~snip~~~
>>
>> vs.
>>
>> ~~~snip~~~
>> %\setupenumerations [numberconversion=numbers]
>>
>> \starttext
>> \startitemize[a]
>>  \item Text Text
>>  \item Text Text
>> \stopitemize
>> \stoptext
>> ~~~snip~~~
>>
>> This is unintuitive for me.. Is this expected behavior??
>
> What is the problem, I can’t see a difference in the output of both examples?
>
> Wolfgang

Interesting..

In the first example I see

1. Text Text
2. Text Text

in the second, I see

a. Text Text
b. Text Text

I am using the context version from the Ubuntu package manager.

% context --version

mtx-context     | ConTeXt Process Management 0.52
mtx-context     |
mtx-context     | main context file: /usr/share/texmf/tex/contex
t/base/context.mkiv
mtx-context     | current version: 2012.05.30 11:26

Probably, I should update.
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2014-02-20 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 13:45 setupenumerations overwriting setupitemize Thomas Möbius
2014-02-20 13:52 ` Wolfgang Schuster
2014-02-20 14:09   ` Thomas Friedrich

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