@@ -7,17 +7,18 @@ $if(context-dir)$
77$endif$
88% Enable hyperlinks
99\setupinteraction
10− [state=start$if(style)$,
11− style=$style$$endif$$if(linkcolor)$,
12− color=$linkcolor$,
13− contrastcolor=$linkcolor$$endif$$if(title)$,
10+ [state=start,
11+ style=$if(style)$$style$$else$normal$endif$,
12+ color=$if(linkcolor)$$linkcolor$$else$black$endif$,
13+ contrastcolor=$if(linkcolor)$$linkcolor$$else$black$endif$$if(title)$,
1414 title=$title$$endif$$if(subtitle)$,
1515 subtitle=$subtitle$$endif$$if(author)$,
16− author=$author$$endif$$if(keywords)$,
16+ author=$for(author)$$author$$sep$; $endfor$$endif$$if(keywords)$,
1717 keyword=$keywords$$endif$]
1818% make chapter, section bookmarks visible when opening document
19−\placebookmarks[chapter,section,subsection,subsubsection][chapter,section]
19+\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
2020\setupinteractionscreen[option=bookmark]
21+\setuptagging[state=start]
2122
2223$if(papersize)$
2324\setuppapersize[$for(papersize)$$papersize$$sep$,
@@ -56,10 +57,12 @@ $if(interlinespace)$
5657\setupinterlinespace[$interlinespace$]
5758$endif$
5859
59−\setuphead[chapter] [style=\tfd]
60−\setuphead[section] [style=\tfc]
61−\setuphead[subsection] [style=\tfb]
62−\setuphead[subsubsection][style=\bf]
60+\setuphead[chapter] [style=\tfd,header=empty]
61+\setuphead[section] [style=\tfc]
62+\setuphead[subsection] [style=\tfb]
63+\setuphead[subsubsection] [style=\bf]
64+\setuphead[subsubsubsection] [style=\sc]
65+\setuphead[subsubsubsubsection][style=\it]
6366
6467$if(headertext)$
6568\setupheadertexts[$headertext$]
@@ -69,7 +72,7 @@ $if(footertext)$
6972$endif$
7073$if(number-sections)$
7174$else$
72−\setuphead[chapter, section, subsection, subsubsection][number=no]
75+\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
7376$endif$
7477
7578\definedescription
@@ -84,32 +87,34 @@ $endif$
8487
8588\setupthinrules[width=15em] % width of horizontal rules
8689
87−$for(header-includes)$
88−$header-includes$
89−$endfor$
90−
91−\starttext
92−$if(title)$
93−\startalignment[center]
94− \blank[2*big]
95− {\tfd $title$}
90+\setuphead[title][
91+ style={\tfd\raggedcenter},
92+ before={\startalignment[middle]},
93+ after={
9694$if(subtitle)$
97− \blank[3*medium]
98− {\tfa $subtitle$}
95+ \smallskip
96+ {\tfa $subtitle$}
9997$endif$
10098$if(author)$
101− \blank[3*medium]
102− {\tfa $for(author)$$author$$sep$\crlf $endfor$}
99+ \smallskip
100+ {\tfa $for(author)$$author$$sep$\crlf $endfor$}
103101$endif$
104102$if(date)$
105− \blank[2*medium]
106− {\tfa $date$}
103+ \smallskip
104+ {\tfa $date$}
107105$endif$
108− \blank[3*medium]
109−\stopalignment
106+ \bigskip\stopalignment}]
107+
108+$for(header-includes)$
109+$header-includes$
110+$endfor$
111+
112+\starttext
113+$if(title)$
114+\title{$title$}
110115$endif$
111116$if(abstract)$
112−\midaligned{\bf Abstract}
117+\midaligned{\it Abstract}
113118\startnarrower[2*middle]
114119$abstract$
115120\stopnarrower