Re: [NTG-context] [Layout] Problem with ConTeXt mkII
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 ? Pierre-François. -- Bonnefoi Pierre-Francois | E-mail : bonnefoi@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed... 87000 Limoges - FRANCE | The Avengers.
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. %%%%%%%%%%%%%%%%%%%%% \setuptolerance[verytolerant,stretch] \setuppapersize[A4][A4] \setuplayout[ backspace=3cm, topspace=1.5cm, rightmargin=0cm,leftmargin=1.3cm, width=15cm, leftmargindistance=0.2cm, height=fit, header=0cm, footer=1cm, ] \definelayout[1][ topspace=5.2cm, height=fit, ] \dorecurse{1000}{\definelayout[\the\numexpr 1+\recurselevel][reset]} \starttext \dorecurse{100}{\input knuth} \stoptext -- luigi
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
On Wed, Sep 28, 2011 at 1:54 PM, Wolfgang Schuster
\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 hm http://wiki.contextgarden.net/Layout seems to be different. Btw, this works without warnings
%%%%%%%%%%%%%%%%%%%%% \setuptolerance[verytolerant,stretch] \setuppapersize[A4][A4] \setuplayout[ backspace=3cm, topspace=1.5cm, rightmargin=0cm,leftmargin=1.3cm, width=15cm, leftmargindistance=0.2cm, height=fit, header=0cm, footer=1cm, ] \definelayout[1][ topspace=5.2cm, height=fit, ] \dorecurse{10000}{\definelayout[\the\numexpr 1+\recurselevel][]} \starttext \dorecurse{100}{\input knuth} \stoptext -- luigi
Am 28.09.2011 um 14:03 schrieb luigi scarso:
On Wed, Sep 28, 2011 at 1:54 PM, Wolfgang Schuster
wrote: \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 hm http://wiki.contextgarden.net/Layout seems to be different. Btw, this works without warnings
%%%%%%%%%%%%%%%%%%%%% \setuptolerance[verytolerant,stretch] \setuppapersize[A4][A4]
\setuplayout[ backspace=3cm, topspace=1.5cm, rightmargin=0cm,leftmargin=1.3cm, width=15cm, leftmargindistance=0.2cm, height=fit, header=0cm, footer=1cm, ]
\definelayout[1][ topspace=5.2cm, height=fit, ]
\dorecurse{10000}{\definelayout[\the\numexpr 1+\recurselevel][]}
\starttext \dorecurse{100}{\input knuth} \stoptext
Why so many \definelayout calls? \definelayout[1][topspace=5.2cm,height=fit] \definelayout[2][] \starttext \dorecurse{10}{\input knuth\par} \stoptext Wolfgang
participants (3)
-
luigi scarso
-
Pierre-François Bonnefoi
-
Wolfgang Schuster