Changes

Jump to navigation Jump to search
make multi page example work again
=== mode="mkiv" and mode="lmtx" ===
By default, the wiki compiles examples using [[LMTX]]. You can specify that you want to use MkIV by adding the option <tt>mode="mkiv"</tt> to the tag. Because MkIV examples are visually indistinguishable from LMTX examples, it is good practice to start MkIV examples with a comment <code>% mode=mkiv</code>.
{| class=wikitable
</xmlcode>
| <context source="yes" force="yes">
\contextbanner
</context>
|- style="vertical-align: top"
|<context mode="mkiv" source="yes" force="yes">
% mode=mkiv
\contextbanner
</context>
|}
<context source="yes">
\setuppapersize[A10, landscape][A8, landscape]
\setuppaper[nx=2, ny=2] % arrange pages 2 by 2 (must come before \setuparranging[XY])
\showframe[edge] % Draw line around each page. Prevents overzealous cropping
\starttextone \page[yes]two \page[yes]three \page[yes]
four
\stoptext
</context>

Navigation menu