ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: The appendices envrionment and title in toc
Date: Mon, 18 Apr 2011 16:04:24 +0200	[thread overview]
Message-ID: <472BC0E2-3114-4614-B116-427B4044DB15@googlemail.com> (raw)
In-Reply-To: <BANLkTimiWgzfUVK17T9PEsNgx9iE3TZn1A@mail.gmail.com>


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
___________________________________________________________________________________


  reply	other threads:[~2011-04-18 14:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-17 10:57 seasoul
2011-04-18 14:04 ` Wolfgang Schuster [this message]
2011-04-20  9:10   ` seasoul
2011-04-20 13:55     ` Wolfgang Schuster
2011-04-21  4:19       ` Pontus Lurcock
2011-04-21  5:02 Reviczky, Adam
2011-04-21  7:12 ` Pontus Lurcock
2011-04-21 22:12   ` Pontus Lurcock
2011-04-22  5:24 ` Wolfgang Schuster
2011-04-22  6:54 Reviczky, Adam
2011-04-22 13:56 ` Wolfgang Schuster
2011-04-22 14:36 Reviczky, Adam
2011-04-22 19:35 ` Wolfgang Schuster

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=472BC0E2-3114-4614-B116-427B4044DB15@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).