* Re: Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER
@ 2011-05-23 17:49 Mathieu DUPONT
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 17:49 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 139 bytes --]
Effectively, now that I've installed MkIV, I get the output I expected.
Thank you very much, Wolfgang !
Mathieu
[-- Attachment #1.2: Type: text/html, Size: 572 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER
2011-05-23 2:06 Mathieu DUPONT
@ 2011-05-23 10:53 ` Wolfgang Schuster
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2011-05-23 10:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1398 bytes --]
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT:
> 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.
Do you use MkII or MkIV?
When i run your example with a recent installation and MkIV
i get the output you expect. You should also also set
the sectionblocks for the frontpart and the bodypart:
\setuplabeltext[chapter=CHAPTER~]
\setuplabeltext[appendix=APPENDIX~]
\setuplist [chapter] [label=yes,width=7em]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Title of a chapter}
\stopbodymatter
\startappendices
\chapter{Title of an appendix}
\stopappendices
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 5673 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER
@ 2011-05-23 2:06 Mathieu DUPONT
2011-05-23 10:53 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 2:06 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-23 17:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 17:49 Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER Mathieu DUPONT
-- strict thread matches above, loose matches on Subject: below --
2011-05-23 2:06 Mathieu DUPONT
2011-05-23 10:53 ` Wolfgang Schuster
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).