The appendices envrionment and title in toc
I want to include appendices part in MKIV. The appendices should prefixed by Appendix, like Appendix A, Appendix B. I use \setuplabeltext [appendix=Appendix ] \startappendices \component chapters/appen-01 \stopappendices appen-01.tex is the appendix file. The appendix part tile is correct, but in the toc, the title is something like Chapter A. How to solve this problem?
Am 17.04.2011 um 12:57 schrieb seasoul:
I want to include appendices part in MKIV. The appendices should prefixed by Appendix, like Appendix A, Appendix B.
I use \setuplabeltext [appendix=Appendix ] \startappendices \component chapters/appen-01 \stopappendices
appen-01.tex is the appendix file. The appendix part tile is correct, but in the toc, the title is something like Chapter A.
How to solve this problem?
It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices). I wrote a minimal which can be used to see the problem and to test for the correct result once the thing is resolved. \setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ] \setuplist[chapter][label=yes,width=5em] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext Wolfgang
Oh, thanks. But is there a by-pass to solve it? A thesis without any appenix seems not that complete. On Mon, Apr 18, 2011 at 10:04 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 17.04.2011 um 12:57 schrieb seasoul:
I want to include appendices part in MKIV. The appendices should prefixed by Appendix, like Appendix A, Appendix B.
I use \setuplabeltext [appendix=Appendix ] \startappendices \component chapters/appen-01 \stopappendices
appen-01.tex is the appendix file. The appendix part tile is correct, but in the toc, the title is something like Chapter A.
How to solve this problem?
It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices).
I wrote a minimal which can be used to see the problem and to test for the correct result once the thing is resolved.
\setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ]
\setuplist[chapter][label=yes,width=5em]
\starttext
\startfrontmatter \completecontent \stopfrontmatter
\startbodymatter \chapter{Bodypart} \stopbodymatter
\startappendices \chapter{Appendix} \stopappendices
\stoptext
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
___________________________________________________________________________________
-- Yours Sincerely seasoul
Am 20.04.2011 um 11:10 schrieb seasoul:
Oh, thanks.
But is there a by-pass to solve it? A thesis without any appenix seems not that complete.
Define a \appendix command. \setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ] \definehead[appendix][chapter] \setuphead[appendix][appendixlabel=appendix] \setuplist[chapter,appendix][label=yes,width=6em] \starttext \startfrontmatter \title{Contents} \placelist[chapter,appendix,section,subsection] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \appendix{Appendix} \stopappendices \stoptext Wolfgang
On Wed 20 Apr 2011, Wolfgang Schuster wrote:
Am 20.04.2011 um 11:10 schrieb seasoul:
Oh, thanks.
But is there a by-pass to solve it? A thesis without any appenix seems not that complete.
Define a \appendix command.
Thank you. One pleasant thing about this list is that many of my questions are answered before I get round to asking them. Pont
participants (3)
-
Pontus Lurcock
-
seasoul
-
Wolfgang Schuster