ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* way=bychapter not working for enumerations in mkiv
@ 2009-09-17 12:39 Olaf Mersmann
  2009-09-17 15:05 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Olaf Mersmann @ 2009-09-17 12:39 UTC (permalink / raw)
  To: ntg-context

Hi list,

the following example works in MkII but not in MkIV as expected:

\defineenumeration[test][%
  way=bysection,
  location=left,
  text=Test]

\starttext
\section{One}
\starttest
  \input knuth
\stoptest

\section{Two}
\starttest
  \input knuth
\stoptest
\stoptext

In MkII I get 1.1 and 2.1 but MkIV gives 1 and 2.

Cheers
Olaf
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: way=bychapter not working for enumerations in mkiv
  2009-09-17 12:39 way=bychapter not working for enumerations in mkiv Olaf Mersmann
@ 2009-09-17 15:05 ` Hans Hagen
  2009-09-17 18:55   ` Olaf Mersmann
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-09-17 15:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Olaf Mersmann wrote:
> Hi list,
> 
> the following example works in MkII but not in MkIV as expected:
> 
> \defineenumeration[test][%
>   way=bysection,
>   location=left,
>   text=Test]

for the moment use:

\defineenumeration[test]

\setupenumeration[test][%
   way=bysection,
   location=left,
   text=Test]


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: way=bychapter not working for enumerations in mkiv
  2009-09-17 15:05 ` Hans Hagen
@ 2009-09-17 18:55   ` Olaf Mersmann
  0 siblings, 0 replies; 3+ messages in thread
From: Olaf Mersmann @ 2009-09-17 18:55 UTC (permalink / raw)
  To: ntg-context

Hello Hans,

Excerpts from Hans Hagen's message of Thu Sep 17 17:05:18 +0200 2009:
> > the following example works in MkII but not in MkIV as expected:
> > 
> > \defineenumeration[test][%
> >   way=bysection,
> >   location=left,
> >   text=Test]
> 
> for the moment use:
> 
> \defineenumeration[test]
> 
> \setupenumeration[test][%
>    way=bysection,
>    location=left,
>    text=Test]

This gives 

  ...
  language        : language en is active
  ! Undefined control sequence.
  l.3 \setupenumeration
                       [test][%

using the current minimals. Replacing \setupenumeration by
\setupenumerations fixes this but does not give the same result as
before.

Cheers
Olaf
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-09-17 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-17 12:39 way=bychapter not working for enumerations in mkiv Olaf Mersmann
2009-09-17 15:05 ` Hans Hagen
2009-09-17 18:55   ` Olaf Mersmann

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