2\mainlanguage[$context-lang$]
5\setupalign[$context-dir$]
6\setupdirections[bidi=on,method=two]
15 subtitle={$subtitle$},
18 author={$for(author)$$author$$sep$; $endfor$},
21 keyword={$for(keywords)$$keywords$$sep$; $endfor$},
25 contrastcolor=$linkcontrastcolor$]
26% make chapter, section bookmarks visible when opening document
27\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
28\setupinteractionscreen[option=bookmark]
29\setuptagging[state=start]
32\setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$]
35\setuplayout[$for(layout)$$layout$$sep$,$endfor$]
38\setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$]
41\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
42\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
43\setupalign[hz,hanging]
44\setupitaliccorrection[global, always]
45\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
46\usemodule[simplefonts$if(fontsize)$,$fontsize$$endif$]
47\setmainfontfallback[DejaVu Serif][range={greekandcoptic, greekextended}, force=yes, rscale=auto]
49\setmainfont[$mainfont$]
52\setsansfont[$sansfont$][rscale=auto]
55\setmonofont[$monofont$][features=none, rscale=auto]
58\setmathfont[$mathfont$][rscale=auto]
60\setupwhitespace[$if(whitespace)$$whitespace$$else$medium$endif$]
62\setupindenting[$for(indenting)$$indenting$$sep$,$endfor$]
65\setupinterlinespace[$for(interlinespace)$$interlinespace$$sep$,$endfor$]
68\setuphead[chapter] [style=\tfd,header=empty]
69\setuphead[section] [style=\tfc]
70\setuphead[subsection] [style=\tfb]
71\setuphead[subsubsection] [style=\bf]
72\setuphead[subsubsubsection] [style=\sc]
73\setuphead[subsubsubsubsection][style=\it]
76\setupheadertexts$for(headertext)$[$headertext$]$endfor$
79\setupfootertexts$for(footertext)$[$footertext$]$endfor$
83\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
88 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
90\setupitemize[autointro] % prevent orphan list intro
91\setupitemize[indentnext=no]
93\setupfloat[figure][default={here,nonumber}]
94\setupfloat[table][default={here,nonumber}]
96\setupthinrules[width=15em] % width of horizontal rules
104\startalignment[middle]
112 {\tfa $for(author)$$author$$sep$\crlf $endfor$}
122\midaligned{\it Abstract}
123\startnarrower[2*middle]
138\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