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][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
42\definefontfeature[smallcaps][smallcaps][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
43\setupalign[hz,hanging]
44\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
46\definefontfamily[mainfont][serif][$mainfont$]
49\definefontfamily[sansfont][sans][$sansfont$]
52\definefontfamily[monofont][mono][$monofont$][features=none]
55\definefontfamily[mathfont][math][$mathfont$]
57\setupbodyfont[mainfont$if(fontsize)$,$fontsize$$endif$]
58\setupwhitespace[$if(whitespace)$$whitespace$$else$medium$endif$]
60\setupindenting[$for(indenting)$$indenting$$sep$,$endfor$]
63\setupinterlinespace[$for(interlinespace)$$interlinespace$$sep$,$endfor$]
66\setuphead[chapter] [style=\tfd,header=empty]
67\setuphead[section] [style=\tfc]
68\setuphead[subsection] [style=\tfb]
69\setuphead[subsubsection] [style=\bf]
70\setuphead[subsubsubsection] [style=\sc]
71\setuphead[subsubsubsubsection][style=\it]
74\setupheadertexts$for(headertext)$[$headertext$]$endfor$
77\setupfootertexts$for(footertext)$[$footertext$]$endfor$
81\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
86 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
88\setupitemize[autointro] % prevent orphan list intro
89\setupitemize[indentnext=no]
91\setupfloat[figure][default={here,nonumber}]
92\setupfloat[table][default={here,nonumber}]
94\setupthinrules[width=15em] % width of horizontal rules
97 style={\tfd\raggedcenter},
98 before={\startalignment[middle]},
106 {\tfa $for(author)$$author$$sep$\crlf $endfor$}
112 \bigskip\stopalignment}]
114$for(header-includes)$
123\midaligned{\it Abstract}
124\startnarrower[2*middle]
139\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