Am 18.10.2013 um 17:37 schrieb Pablo Rodriguez
Dear list,
I have a sample with multiple layouts:
\showframe \setuppagenumbering[alternative=doublesided, location=] \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm, height=fit] \definelayout[shorter][backspace=80mm, cutspace=20mm, topspace=110mm, bottomspace=30mm] \setuplayout[shorter] \setuplayout[reset] \definelayout[1][shorter] \definelayout[2-last][reset] \starttext \dorecurse{20}{\input knuth\par} \stoptext
I found two issues: the first lines on the second page have the margin from previous page, and from the third page text doesn’t reach the page bottom.
Am I missing something or have I found a bug?
1. reset is a keyword for \setuplayout (single argument version) and not a name for a predefined layout 2. You can’t define layouts for page ranges (e.g. 2-last), only page numbers (e.g. 2,5, or -3), names (e.g. mylayout) and keywords (e.g. first, last, odd and even) are possible. 3. The width of a paragraph is fixed and tex doesn’t changed the width of the part which is moved to the next page (there are a fix tricks to work around this limitation but they work only when you have a text only document). 4. TeX has its limitations and you have to live with them, with LuaTeX there are ways to get rid of a few of them but it takes time to write the necessary code Wolfgang