On Tue, 22 Aug 2006, Horacio Suarez wrote:
Hello
This is my page:
\definepapersize[argento][width=20cm,height=28cm] \setuppapersize[argento][A3] \setuppagenumbering[alternative=doublesided,location=] \setuplayout[location=middle,marking=on,textwidth=150mm]
Quoting Hans from another thread
it's dangerous to use dimensions in \setuplayout that get set themselves
also, textwidth is for special purposed and special effects, not to be used here (spoils things)
So instead of specifying the textwidth, specify the backspace and cutspace and let context figure out the textwidth... \setuplayout [width=middle, location=middle, backspace=2.5cm, cutspace=2.5cm, marking=on]
And everithig is fine, but headers are not aligned with text.
Also, I use 2 columns in most of the book, but 4 chapters uses 3 columns.
I use
\startcolumns[n=2, balance=yes,distance=8mm]
or
\startcolumns[n=3, balance=yes,distance=5mm]
In two columns is ok, but in 3 columns, all the 3 columns donĀ“t fit the whole textwidth, I mean, the sum of the 3 columns width plus the 2 intercolumns space are less (about 1cm) than 150mm, as setuplayout says.
The following works fine for me.... \definepapersize[argento][width=20cm,height=28cm] \setuppapersize[argento][A3] \setuppagenumbering[alternative=doublesided,location=] \setuplayout [width=middle, location=middle, backspace=2.5cm, cutspace=2.5cm, marking=on] \showframe \setupheadertexts[chapter][pagenumber] \starttext \chapter{Two Columns} \startcolumns[n=2, balance=yes,distance=8mm] \dorecurse{6}{\input knuth \endgraf} \stopcolumns \chapter{Three Columns} \startcolumns[n=3, balance=yes,distance=5mm] \dorecurse{6}{\input knuth \endgraf} \stopcolumns \stoptext Aditya