From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Appendix question
Date: Tue, 8 Sep 2020 20:31:07 +0200 [thread overview]
Message-ID: <1e28baf0-50b0-8e8f-1591-dc6cd044c62a@gmail.com> (raw)
In-Reply-To: <208dee2e-31e5-b215-7a2e-ca95a2410c51@gmail.com>
jbf schrieb am 08.09.2020 um 12:40:
> A (hopefully) simple question this time:
>
> Why would my appendices be labelled as Appendix One, Appendix Two etc.,
> instead of Appendix A, Appendix B? I thought Appendices would normally
> be labelled alphabetically, not numerically.
>
> So I get APPENDIX as the label, I have:
>
> \setuplabeltext
> [en]
> [chapter={\bf Chapter }, appendix=APPENDIX ]
>
> But elsewhere I have:
>
> \setupheads[chapter][indentnext=no,conversion=Words,distance=.25em]
>
> So is that what is affecting my appendices, and if so how do I do it so
> that Chapters get words (One, Two, etc) and Appendices get letters (A,B,
> etc)?
Use sectionconversionset to set the number conversion for all section
levels and ignore the conversion key.
\defineconversionset [bodypart:section] [n,Word] [n]
\defineconversionset [appendix:section] [n,A] [n]
\setupheads
[sectionconversionset=section]
\setuplabeltext
[en]
[chapter=Chapter ,
appendix=Appendix ]
\starttext
\startbodymatter
\stopbodymatter
\dorecurse{5}{\chapter{Chapter #1}}
\startappendices
\dorecurse{5}{\chapter{Chapter #1}}
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2020-09-08 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 10:40 jbf
2020-09-08 18:31 ` Wolfgang Schuster [this message]
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=1e28baf0-50b0-8e8f-1591-dc6cd044c62a@gmail.com \
--to=wolfgang.schuster.lists@gmail.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).