8% make chapter, section bookmarks visible when opening document
9\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
10\setupinteractionscreen[option=bookmark]
12\setuppagenumbering[location={footer,middle}]
13\setupbackend[export=yes]
14\setupstructure[state=start,method=auto]
17\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
18\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
19\setupalign[hz,hanging]
20\setupitaliccorrection[global, always]
22\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
24\definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek, force=yes]
25\definefontfamily[mainface][rm][Latin Modern Roman]
26\definefontfamily[mainface][mm][Latin Modern Math]
27\definefontfamily[mainface][ss][Latin Modern Sans]
28\definefontfamily[mainface][tt][Latin Modern Typewriter][features=none]
29\setupbodyfont[mainface]
31\setupwhitespace[medium]
33\setuphead[chapter] [style=\tfd\setupinterlinespace,header=empty]
34\setuphead[section] [style=\tfc\setupinterlinespace]
35\setuphead[subsection] [style=\tfb\setupinterlinespace]
36\setuphead[subsubsection] [style=\bf]
37\setuphead[subsubsubsection] [style=\sc]
38\setuphead[subsubsubsubsection][style=\it]
40\setuphead[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][number=no]
44 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm, alternative=hanging]
46\setupitemize[autointro] % prevent orphan list intro
47\setupitemize[indentnext=no]
49\setupfloat[figure][default={here,nonumber}]
50\setupfloat[table][default={here,nonumber}]
52\setupxtable[frame=off]
53\setupxtable[head][topframe=on,bottomframe=on]
55\setupxtable[foot][bottomframe=on]
60\section[title={Empty Divs and Spans},reference={empty-divs-and-spans}]
68Next paragraph with a span and a word-thatincludesaspanright?
70\section[title={Directionality},reference={directionality}]
74\startalignment[righttoleft]
81\startalignment[lefttoright]
82and a ltr div. with a {\righttoleft rtl span}.
86Next paragraph with a {\righttoleft rtl span} and a
87word-that-includesa{\lefttoright ltrspan}right?
89\section[title={Languages},reference={languages}]
100Next paragraph with a {\language[en-gb]British span} and a
101word-that-includesa{\language[de-ch]Swiss German span}right?
103Some {\language[es]Spanish text}.
105\section[title={Combined},reference={combined}]
110\startalignment[righttoleft]
111French rtl div contents
118Next paragraph with a {\language[en-gb]{\lefttoright British ltr span}}
119and a word-that-includesa{\language[de-ch]{\lefttoright Swiss German ltr
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