2011-08-23 10:25:30 -04:00
|
|
|
\startmode[*mkii]
|
|
|
|
\enableregime[utf-8]
|
|
|
|
\setupcolors[state=start]
|
|
|
|
\stopmode
|
2012-03-07 10:06:59 -08:00
|
|
|
$if(mainlang)$
|
|
|
|
\mainlanguage[$mainlang$]
|
2012-03-05 19:33:13 -05:00
|
|
|
$endif$
|
|
|
|
|
2011-08-23 10:25:30 -04:00
|
|
|
% Enable hyperlinks
|
|
|
|
\setupinteraction[state=start, color=middleblue]
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2012-09-05 18:36:00 -04:00
|
|
|
\setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$]
|
2011-08-23 10:25:30 -04:00
|
|
|
\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
|
2011-08-23 10:26:01 -04:00
|
|
|
height=middle, topspace=0.75in, bottomspace=0.75in]
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2011-08-23 10:25:30 -04:00
|
|
|
\setuppagenumbering[location={footer,center}]
|
|
|
|
|
|
|
|
\setupbodyfont[11pt]
|
|
|
|
|
|
|
|
\setupwhitespace[medium]
|
|
|
|
|
2012-02-28 19:37:05 -05:00
|
|
|
\setuphead[chapter] [style=\tfd]
|
|
|
|
\setuphead[section] [style=\tfc]
|
|
|
|
\setuphead[subsection] [style=\tfb]
|
|
|
|
\setuphead[subsubsection][style=\bf]
|
|
|
|
|
2012-03-03 08:37:17 -08:00
|
|
|
$if(number-sections)$
|
|
|
|
$else$
|
2012-02-28 19:37:05 -05:00
|
|
|
\setuphead[chapter, section, subsection, subsubsection][number=no]
|
|
|
|
$endif$
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2011-08-23 10:25:30 -04:00
|
|
|
\definedescription
|
|
|
|
[description]
|
2015-06-28 23:35:43 +02:00
|
|
|
[headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2011-08-23 10:28:41 -04:00
|
|
|
\setupitemize[autointro] % prevent orphan list intro
|
|
|
|
\setupitemize[indentnext=no]
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2013-11-30 16:15:53 -08:00
|
|
|
\setupfloat[figure][default={here,nonumber}]
|
|
|
|
\setupfloat[table][default={here,nonumber}]
|
2013-11-22 19:50:26 -08:00
|
|
|
|
2011-08-23 10:25:30 -04:00
|
|
|
\setupthinrules[width=15em] % width of horizontal rules
|
2011-07-19 12:02:59 -07:00
|
|
|
|
|
|
|
\setupdelimitedtext
|
2011-08-23 10:30:57 -04:00
|
|
|
[blockquote]
|
|
|
|
[before={\blank[medium]},
|
|
|
|
after={\blank[medium]},
|
|
|
|
indentnext=no,
|
2011-08-23 10:25:30 -04:00
|
|
|
]
|
2011-07-19 12:02:59 -07:00
|
|
|
|
2013-02-20 02:44:42 -05:00
|
|
|
$if(toc)$
|
|
|
|
\setupcombinedlist[content][list={$placelist$}]
|
|
|
|
|
2013-02-20 09:57:05 -08:00
|
|
|
$endif$
|
2011-07-19 12:02:59 -07:00
|
|
|
$for(header-includes)$
|
|
|
|
$header-includes$
|
|
|
|
$endfor$
|
|
|
|
|
|
|
|
\starttext
|
|
|
|
$if(title)$
|
|
|
|
\startalignment[center]
|
|
|
|
\blank[2*big]
|
|
|
|
{\tfd $title$}
|
|
|
|
$if(author)$
|
|
|
|
\blank[3*medium]
|
|
|
|
{\tfa $for(author)$$author$$sep$\crlf $endfor$}
|
|
|
|
$endif$
|
|
|
|
$if(date)$
|
|
|
|
\blank[2*medium]
|
|
|
|
{\tfa $date$}
|
|
|
|
$endif$
|
|
|
|
\blank[3*medium]
|
|
|
|
\stopalignment
|
|
|
|
$endif$
|
|
|
|
$for(include-before)$
|
|
|
|
$include-before$
|
|
|
|
$endfor$
|
|
|
|
$if(toc)$
|
2013-02-20 02:44:42 -05:00
|
|
|
\placecontent
|
2011-07-19 12:02:59 -07:00
|
|
|
$endif$
|
|
|
|
|
|
|
|
$body$
|
|
|
|
|
|
|
|
$for(include-after)$
|
|
|
|
$include-after$
|
|
|
|
$endfor$
|
|
|
|
\stoptext
|