ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mathieu DUPONT <mathieudupont@hotmail.com>
To: <ntg-context@ntg.nl>
Subject: Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER
Date: Sun, 22 May 2011 22:06:24 -0400	[thread overview]
Message-ID: <col107-w30D4B73BE3E57646B8D671B2720@phx.gbl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 788 bytes --]



Hi,
The following code :
\setuplabeltext[chapter=CHAPTER~]\setuplabeltext[appendix=APPENDIX~]\setuplist [chapter] [label=yes,style={\blank[0cm]}]
\starttext
\completecontent
\chapter{Title of a chapter}
\startappendices\chapter{Title of an appendix}\stopappendices
\stoptext 
results in :
Contents
CHAPTER 1 Title of a chapter
CHAPTER A Title of an appendix
Instead, I would like to get the following result :
Contents
CHAPTER 1 Title of a chapter
APPENDIX A Title of an appendix
In other words, this command :\setuplist [chapter] [label=yes]seems not to take this one :\setuplabeltext[appendix=APPENDIX~]into account.
Am I forgetting to add another important command in my header ?Any help would be greatly appreciated.
Thanks in advance,

Mathieu

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 3368 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-05-23  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23  2:06 Mathieu DUPONT [this message]
2011-05-23 10:53 ` Wolfgang Schuster
2011-05-23 17:49 Mathieu DUPONT

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=col107-w30D4B73BE3E57646B8D671B2720@phx.gbl \
    --to=mathieudupont@hotmail.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).