@@ -1,27 +1,30 @@
1−\startmode[*mkii]
2− \enableregime[utf-8]
3− \setupcolors[state=start]
4−\stopmode
5−
61% Enable hyperlinks
7−\setupinteraction[state=start, color=middleblue]
8−
9−\setuppapersize [letter][letter]
10−\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
11− height=middle, topspace=0.75in, bottomspace=0.75in]
12−
13−\setuppagenumbering[location={footer,center}]
14−
15−\setupbodyfont[11pt]
16−
2+\setupinteraction
3+ [state=start,
4+ style=normal,
5+ color=black,
6+ contrastcolor=black,
7+ title=Pandoc Test Suite,
8+ author=John MacFarlane; Anonymous]
9+% make chapter, section bookmarks visible when opening document
10+\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
11+\setupinteractionscreen[option=bookmark]
12+\setuptagging[state=start]
13+
14+\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes] % use microtypography
15+\setupalign[hz,hanging]
16+\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
17+\setupbodyfont[mainfont]
1718\setupwhitespace[medium]
1819
19−\setuphead[chapter] [style=\tfd]
20−\setuphead[section] [style=\tfc]
21−\setuphead[subsection] [style=\tfb]
22−\setuphead[subsubsection][style=\bf]
20+\setuphead[chapter] [style=\tfd,header=empty]
21+\setuphead[section] [style=\tfc]
22+\setuphead[subsection] [style=\tfb]
23+\setuphead[subsubsection] [style=\bf]
24+\setuphead[subsubsubsection] [style=\sc]
25+\setuphead[subsubsubsubsection][style=\it]
2326
24−\setuphead[chapter, section, subsection, subsubsection][number=no]
27+\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
2528
2629\definedescription
2730 [description]
@@ -35,24 +38,19 @@
3538
3639\setupthinrules[width=15em] % width of horizontal rules
3740
38−\setupdelimitedtext
39− [blockquote]
40− [before={\blank[medium]},
41− after={\blank[medium]},
42− indentnext=no,
43− ]
41+\setuphead[title][
42+ style={\tfd\raggedcenter},
43+ before={\startalignment[middle]},
44+ after={
45+ \smallskip
46+ {\tfa John MacFarlane\crlf Anonymous}
47+ \smallskip
48+ {\tfa July 17, 2006}
49+ \bigskip\stopalignment}]
4450
4551
4652\starttext
47−\startalignment[center]
48− \blank[2*big]
49− {\tfd Pandoc Test Suite}
50− \blank[3*medium]
51− {\tfa John MacFarlane\crlf Anonymous}
52− \blank[2*medium]
53− {\tfa July 17, 2006}
54− \blank[3*medium]
55−\stopalignment
53+\title{Pandoc Test Suite}
5654
5755This is a set of tests for pandoc. Most of them are adapted from John Gruber's
5856markdown test suite.