Textblock does not match the layout parameters
Hi, While developping a page-layout for a book I cam across the following strange behaviour: The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section. To me it looks like a calculation error. Hans could you please comment on this? Thanks Willi % Test-file % \showframe gives the correct dimensions. % The textblock however is larger than it should be. Interestingly it is at left and right margin % the same amount. % The pagenumber in the footer is placed correctly. % Context file % filename: boek-zetspiegel.tex % Willi Egger % 17-11-2005 \setupoutput[pdftex] \setupbodyfont[rm,10pt] \definepapersize[Boek][width=125mm,height=200mm] \setuppapersize[Boek][A4] \setuppagenumbering[state=start,location={footer,marginedge},alternative=doublesided] \setuplayout [topspace=16.7mm, header=0pt, headerdistance=0pt, margin=8mm, backspace=10.4mm, textwidth=93.8mm, margindistance=1mm, footerdistance=3\bodyfontsize, footer=1.5\bodyfontsize, location=middle] \setuptolerance[tolerant] \starttext \showframe \dorecurse{10}{\input tufte \blank[0.5cm]} \stoptext
Willi Egger wrote:
Hi,
While developping a page-layout for a book I cam across the following strange behaviour:
The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section.
To me it looks like a calculation error. Hans could you please comment on this?
It looks like the 'textwidth' key functions as an override switch. If you use the 'width' key, all of the measurements are consistent with eachother, and, otoh it gets even sillier if you use textwidth but set it to, e.g., 200mmm. Whether this is by design or an error is unknown to me. :-) Greetings, Taco
Taco Hoekwater wrote:
Willi Egger wrote:
Hi,
While developping a page-layout for a book I cam across the following strange behaviour:
The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section.
To me it looks like a calculation error. Hans could you please comment on this?
It looks like the 'textwidth' key functions as an override switch. If you use the 'width' key, all of the measurements are consistent with eachother, and, otoh it gets even sillier if you use textwidth but set it to, e.g., 200mmm.
Whether this is by design or an error is unknown to me. :-)
it's by design (but you're free to doubt the design quality): textwidth is for special purposes (i needed it when i had to center a one column text on a special page layout) Hans
Hi Hasn en Taco, sorry, that I caused this noise, stupid me used the wrong parameter! - As usual Context works to expectation. Willi Hans Hagen wrote:
Taco Hoekwater wrote:
Willi Egger wrote:
Hi,
While developping a page-layout for a book I cam across the following strange behaviour:
The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section.
To me it looks like a calculation error. Hans could you please comment on this?
It looks like the 'textwidth' key functions as an override switch. If you use the 'width' key, all of the measurements are consistent with eachother, and, otoh it gets even sillier if you use textwidth but set it to, e.g., 200mmm.
Whether this is by design or an error is unknown to me. :-)
it's by design (but you're free to doubt the design quality): textwidth is for special purposes (i needed it when i had to center a one column text on a special page layout)
Hans _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Willi Egger wrote:
Hi,
While developping a page-layout for a book I cam across the following strange behaviour:
The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section.
To me it looks like a calculation error. Hans could you please comment on this?
backspace=10.4mm, textwidth=93.8mm, you don't specify the width: backspace=10.4mm, width=93.8mm, try: backspace=1cm, width=10cm, textwidth=11cm textwidth is a special purpose feature -) Hans
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
Willi Egger