Difference between revisions of "Command/appendix"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
Line 25: Line 25:
 
No longer exists in Mk IV. Instead use
 
No longer exists in Mk IV. Instead use
  
<texcode>
+
<context mode=mkiv source=yes text=produces>
 +
\setuppapersize[A5]
 +
 
 +
% When writing out the appendix title, place the name
 +
% APPENDIX before the appendix letter
 +
\setuplabeltext[appendix=APPENDIX~]
 +
 
 +
% Add the APPENDIX label defined above to the
 +
% table of contents title.
 +
\setuplist[chapter][label=yes,width=9em]
 +
 
 
\startbodymatter
 
\startbodymatter
 +
 +
TABLE OF CONTENTS
 +
\placecontent
 +
 +
--------------------------------
 
\chapter{Regular chapter}
 
\chapter{Regular chapter}
 
% ...
 
% ...
Line 32: Line 47:
  
 
\startappendices
 
\startappendices
\chapter{Appendix: Some stuff}
+
\chapter{Some stuff}
 
% ...
 
% ...
 
\stopappendices
 
\stopappendices
</texcode>
+
</context>
  
 
== Example ==
 
== Example ==

Revision as of 14:36, 2 August 2013

\appendix

Syntax

\appendix[ref,ref,...]{...}
[ref,ref,...]
{...} text


Description

Starts appendix part of a book.

No longer exists in Mk IV. Instead use

\setuppapersize[A5]

% When writing out the appendix title, place the name 
% APPENDIX before the appendix letter
\setuplabeltext[appendix=APPENDIX~]

% Add the APPENDIX label defined above to the 
% table of contents title.
\setuplist[chapter][label=yes,width=9em]

\startbodymatter

TABLE OF CONTENTS
\placecontent

--------------------------------
\chapter{Regular chapter}
% ...
\stopbodymatter

\startappendices
\chapter{Some stuff}
% ...
\stopappendices

produces

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: