[NTG-context] footnotes in appendices

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Jan 19 18:58:04 CET 2014


Am 19.01.2014 um 12:29 schrieb Marco Patzer <lists at homerow.info>:

>  \definestructureconversionset
>    [structure]
>    %% part,  chapter,    section,       subsection, subsubsection
>    [numbers, characters, Romannumerals, numbers,    romannumerals]
>    [numbers]
> 
>  \startsectionblockenvironment [appendix]
>    \setupheads [sectionconversionset=structure]
>  \stopsectionblockenvironment

You can set a conversionset also for certain sectionblocks when you
add the name of the block as prefix for the name of the set.

\defineconversionset[frontpart:pagenumber][][A]
\defineconversionset [bodypart:pagenumber][][R]
\defineconversionset [appendix:pagenumber][][n]

\defineconversionset[frontpart:sectionnumber][R,A,G][n]
\defineconversionset [bodypart:sectionnumber][r,a,g][n]
\defineconversionset [appendix:sectionnumber][a,g,n][n]

\setuppagenumber[numberconversionset=pagenumber]

\setuphead
  [part,chapter,section]
  [placehead=yes,
   sectionconversionset=sectionnumber]

\setupsectionblock[frontpart][number=yes]

\starttext

\startfrontmatter

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
     {\chapter{Chapter #1.##1}
	  \dorecurse{10}{\section{Section #1.##1.####1}}}}

\stopfrontmatter

\startbodymatter

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
     {\chapter{Chapter #1.##1}
	  \dorecurse{10}{\section{Section #1.##1.####1}}}}

\stopbodymatter

\startappendices

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
     {\chapter{Chapter #1.##1}
	  \dorecurse{10}{\section{Section #1.##1.####1}}}}

\stopappendices

\stoptext

Wolfgang


More information about the ntg-context mailing list