On Mon, Feb 15, 2010 at 16:31, Alan BRASLAU wrote:
> 1. Setting the labeltext "appendix=Appendix " with \startappendices
>   is broken in mkiv; somewhat works in mkii. What am I doing wrong?
> 2. How to set the label correctly in the TOC?
>
> Alan
>
> Minimal example
>
> \setuplabeltext [chapter=Chapter ]   % with trailing space; blank by default
> \setuplabeltext [appendix=Appendix ] % with trailing space; blank by default
> \setuphead [chapter] [placehead=yes]
> \setuplist [chapter] [label=yes,width=5em,alternative=c]
>
> \starttext
>
> \startfrontmatter
> \completecontent
> \stopfrontmatter
>
> \startbodymatter
> \chapter {one}
> \input knuth
> \stopbodymatter
>
> \startappendices
> \chapter {first}
> \input knuth
> \stopappendices
>
> \stoptext

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

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to