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$]
27% make chapter, section bookmarks visible when opening document
28\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
29\setupinteractionscreen[option=bookmark]
30\setuptagging[state=start]
33\setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$]
36\setuplayout[$for(layout)$$layout$$sep$,$endfor$]
39\setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$]
43\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
44\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
45\setupalign[hz,hanging]
46\setupitaliccorrection[global, always]
48\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
50\definefallbackfamily[mainface][rm][DejaVu Serif][preset=range:greek, force=yes]
51\definefontfamily[mainface][rm][$if(mainfont)$$mainfont$$else$Latin Modern Roman$endif$]
52\definefontfamily[mainface][mm][$if(mathfont)$$mathfont$$else$Latin Modern Math$endif$]
53\definefontfamily[mainface][ss][$if(sansfont)$$sansfont$$else$Latin Modern Sans$endif$]
54\definefontfamily[mainface][tt][$if(monofont)$$monofont$$else$Latin Modern Typewriter$endif$][features=none]
55\setupbodyfont[mainface$if(fontsize)$,$fontsize$$endif$]
57\setupwhitespace[$if(whitespace)$$whitespace$$else$medium$endif$]
59\setupindenting[$for(indenting)$$indenting$$sep$,$endfor$]
62\setupinterlinespace[$for(interlinespace)$$interlinespace$$sep$,$endfor$]
65\setuphead[chapter] [style=\tfd,header=empty]
66\setuphead[section] [style=\tfc]
67\setuphead[subsection] [style=\tfb]
68\setuphead[subsubsection] [style=\bf]
69\setuphead[subsubsubsection] [style=\sc]
70\setuphead[subsubsubsubsection][style=\it]
73\setupheadertexts$for(headertext)$[$headertext$]$endfor$
76\setupfootertexts$for(footertext)$[$footertext$]$endfor$
80\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
85 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
87\setupitemize[autointro] % prevent orphan list intro
88\setupitemize[indentnext=no]
90\setupfloat[figure][default={here,nonumber}]
91\setupfloat[table][default={here,nonumber}]
93\setupthinrules[width=15em] % width of horizontal rules
101\startalignment[middle]
109 {\tfa $for(author)$$author$$sep$\crlf $endfor$}
119\midaligned{\it Abstract}
120\startnarrower[2*middle]
135\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