2\mainlanguage[$context-lang$]
5\setupalign[$context-dir$]
6\setupdirections[bidi=on,method=two]
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)$,
14 title=$title$$endif$$if(subtitle)$,
15 subtitle=$subtitle$$endif$$if(author)$,
16 author=$for(author)$$author$$sep$; $endfor$$endif$$if(keywords)$,
17 keyword=$keywords$$endif$]
18% make chapter, section bookmarks visible when opening document
19\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
20\setupinteractionscreen[option=bookmark]
21\setuptagging[state=start]
24\setuppapersize[$for(papersize)$$papersize$$sep$,
28\setuplayout[$for(layout)$$layout$$sep$,
32\setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,
35\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes] % use microtypography
36\setupalign[hz,hanging]
37\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
39\definefontfamily[mainfont][serif][$mainfont$]
42\definefontfamily[sansfont][sans][$sansfont$]
45\definefontfamily[monofont][mono][$monofont$][features=none]
48\definefontfamily[mathfont][math][$mathfont$]
50\setupbodyfont[mainfont$if(fontsize)$,$fontsize$$endif$]
52\setupwhitespace[$whitespace$]
54\setupwhitespace[medium]
57\setupinterlinespace[$interlinespace$]
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]
68\setupheadertexts[$headertext$]
71\setupfootertexts[$footertext$]
75\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
80 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
82\setupitemize[autointro] % prevent orphan list intro
83\setupitemize[indentnext=no]
85\setupfloat[figure][default={here,nonumber}]
86\setupfloat[table][default={here,nonumber}]
88\setupthinrules[width=15em] % width of horizontal rules
91 style={\tfd\raggedcenter},
92 before={\startalignment[middle]},
100 {\tfa $for(author)$$author$$sep$\crlf $endfor$}
106 \bigskip\stopalignment}]
108$for(header-includes)$
117\midaligned{\it Abstract}
118\startnarrower[2*middle]
133\completelistoffigures
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list