ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: "\setuplabeltext [appendix=Appendix ]" broken mkiv
Date: Tue, 16 Feb 2010 23:21:31 +0100	[thread overview]
Message-ID: <4B7B1A6B.2030503@wxs.nl> (raw)
In-Reply-To: <6faad9f01002161339ped41914u83a1d201ea5715e4@mail.gmail.com>

On 16-2-2010 22:39, Mojca Miklavec wrote:

> While you keep Hans and others busy, here's another thing that puzzled me:
>
> \definehead[appendix][chapter]
> \definehead[subappendix][section]
>
> \starttext
>
> \startappendices
> \appendix{one}
> \subappendix{one.one}
> \appendix{two}
> \subappendix{two.one}
> \stopappendices
>
> \stoptext
>
> In mkii it gives A.1 and B.1 for numbering, but in mkiv it gives A.1
> and B.2 (it forgets to reset the counter for "subappendix").

\definestructureresetset      [\v!appendix:\s!default] [] [1] % why was 
this 0

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


  parent reply	other threads:[~2010-02-16 22:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15 15:31 Alan BRASLAU
2010-02-16 21:39 ` Mojca Miklavec
2010-02-16 22:03   ` Hans Hagen
2010-02-16 22:21   ` Hans Hagen [this message]
2010-02-17 17:44     ` Alan BRASLAU
2010-02-17 21:30       ` Mojca Miklavec
2010-02-17 21:36         ` Hans Hagen
2010-05-23 12:02           ` Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B7B1A6B.2030503@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).