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: Fri, 22 Apr 2011 21:35:48 +0200 [thread overview]
Message-ID: <A604628A-4E42-47E7-9053-695B45A2661F@googlemail.com> (raw)
In-Reply-To: <7B4626C28B06A7418E938BF73D6DEE18F9F571EB33@KCL-MAIL05.kclad.ds.kcl.ac.uk>
Am 22.04.2011 um 16:36 schrieb Reviczky, Adam:
> I've added this to the wiki, because I had a look at it earlier on but didn't find anything regarding the labels in setuphead.
With the next beta you can the correct labeltexts in the TOC without the need of an extra command like \appendix.
You can control the behavior with label key from \setuplist, the valid arguments are:
- no : use the argument of the starter and stopper keys but don’t print labels
- EMPTY : a empty argument “label=” results in the same output as “label=no”
- none : don’t print labels and ignore also the starter and stopper keys
- yes : use the labels from the sectionblock where the heading was used
- NAME : use a label with the given name
Example:
\setuplabeltext[en] [chapter=Chapter ]
\setuplabeltext[en][appendix=Appendix ]
\setuplabeltext[en] [section=Section ]
\setuplist[chapter][starter=(,stopper=),width=6em]
\starttext
\startfrontmatter
\completecontent[label=no] % default
\completecontent[label=]
\completecontent[label=none]
\completecontent[label=yes]
\completecontent[label=section]
\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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-04-22 19:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-22 14:36 Reviczky, Adam
2011-04-22 19:35 ` Wolfgang Schuster [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-22 6:54 Reviczky, Adam
2011-04-22 13:56 ` Wolfgang Schuster
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-17 10:57 seasoul
2011-04-18 14:04 ` Wolfgang Schuster
2011-04-20 9:10 ` seasoul
2011-04-20 13:55 ` Wolfgang Schuster
2011-04-21 4:19 ` Pontus Lurcock
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=A604628A-4E42-47E7-9053-695B45A2661F@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).