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$]
42% attempt to generate PDF/A
44 [format=PDF/A-1b:2005,
45 intent=sRGB IEC61966-2.1,
50\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
51\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
52\setupalign[hz,hanging]
53\setupitaliccorrection[global, always]
55\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
57\definefallbackfamily[mainface][rm][DejaVu Serif][preset=range:greek, force=yes]
58\definefontfamily[mainface][rm][$if(mainfont)$$mainfont$$else$Latin Modern Roman$endif$]
59\definefontfamily[mainface][mm][$if(mathfont)$$mathfont$$else$Latin Modern Math$endif$]
60\definefontfamily[mainface][ss][$if(sansfont)$$sansfont$$else$Latin Modern Sans$endif$]
61\definefontfamily[mainface][tt][$if(monofont)$$monofont$$else$Latin Modern Typewriter$endif$][features=none]
62\setupbodyfont[mainface$if(fontsize)$,$fontsize$$endif$]
64\setupwhitespace[$if(whitespace)$$whitespace$$else$medium$endif$]
66\setupindenting[$for(indenting)$$indenting$$sep$,$endfor$]
69\setupinterlinespace[$for(interlinespace)$$interlinespace$$sep$,$endfor$]
72\setuphead[chapter] [style=\tfd,header=empty]
73\setuphead[section] [style=\tfc]
74\setuphead[subsection] [style=\tfb]
75\setuphead[subsubsection] [style=\bf]
76\setuphead[subsubsubsection] [style=\sc]
77\setuphead[subsubsubsubsection][style=\it]
80\setupheadertexts$for(headertext)$[$headertext$]$endfor$
83\setupfootertexts$for(footertext)$[$footertext$]$endfor$
87\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
92 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
94\setupitemize[autointro] % prevent orphan list intro
95\setupitemize[indentnext=no]
97\setupfloat[figure][default={here,nonumber}]
98\setupfloat[table][default={here,nonumber}]
100\setupthinrules[width=15em] % width of horizontal rules
102\setupxtable[frame=off]
103\setupxtable[head][topframe=on,bottomframe=on]
105\setupxtable[foot][bottomframe=on]
107$for(header-includes)$
113\startalignment[middle]
121 {\tfa $for(author)$$author$$sep$\crlf $endfor$}
131\midaligned{\it Abstract}
132\startnarrower[2*middle]
147\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