Changes

Jump to navigation Jump to search
fix the other example
An example (MkIV) for using Metapost to create thumb indices for chapters.
<texcodecontext source="yes">% these first lines are just for wiki layout and visualisation\setuppapersize[A8][A4]\showframe\setuppaper[A4nx=4,oversizedny=4]\setuparranging[XY]\usemodule[visual]
\setuplayout
\starttext \showframe
\dorecurse{63}{\chapter{Test Chapter #1}
Chapter \someheadnumber[chapter][current] of
\someheadnumber[chapter][last]
Section \someheadnumber[section][current] of
\someheadnumber[section][last] \blank
\input tufte \par \input knuth fakewords{10}{20} \par
}
}
\stoptext
</texcodecontext>
[[Category:Sample documents]]
[[Category:Graphics]]

Navigation menu