Am 28.09.2011 um 13:38 schrieb luigi scarso:
2011/9/28 Pierre-François Bonnefoi
: Hello Wolfgang,
Thank you for your help, but your solution required ConTeXt mkIV, and I'm stuck to ConTeXt mkII. Sorry to learn that this bug make its path to the mkIV version.
Could a new version of mkII could solve this bug ? mkii is frozen. Another patch is to force reset to all the pages of document, as for example \dorecurse{1000}{\definelayout[\the\numexpr 1+\recurselevel][reset]} or, if you are sure that your document has less than 500 pages \dorecurse{500}{\definelayout[\the\numexpr 1+\recurselevel][reset]}
There are lots of warning, btw.
\definelayout expects a assignment as argument. \definelayout[1][topspace=5.2cm,height=fit] \definelayout[2][] \setuplayout[2][reset] \starttext \dorecurse{10}{\input knuth\par} \stoptext or \definelayout[current][width=12cm] \definelayout[1][width=12cm,topspace=5.2cm,height=fit] \starttext \dorecurse{10}{\input knuth\par} \stoptext Wolfgang