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
___________________________________________________________________________________