* \setuplayout parameters
@ 2003-08-07 16:00 John Culleton
2003-08-07 22:45 ` Hans Hagen
2003-09-02 16:53 ` Patrick Gundlach
0 siblings, 2 replies; 3+ messages in thread
From: John Culleton @ 2003-08-07 16:00 UTC (permalink / raw)
I want to set up a book 5.5 x 8.5 with .5in margins left and right.
During the development process I want to be able to print it on
US standard 8.5 x 11 sheet of paper.
Here is my current prologue (I have tried several):
\setupoutput[pdftex]
\definepapersize[bok][width=5.5in,height=8.5in]
\setuppapersize[bok][letter]
\setuplayout[marginwidth=.5in,location=middle]
\showframe
When the resultant pdf is printed via Acrobat Reader I find the
following anomalies:
Total width of page outline: 5 7/16 in.
Width of actual text block: 4.5 in approx. (this is OK.)
Width of text block outline: 3 29/32 in (text overlaps block outline.)
And so on. There are gaps between the margin outlines and the text
block outline. The margin outlines are the wrong size.
When I put the document in final form with
\setuppapersize{bok][bok]
and comment out \showframe
Then the text block is not quite centered: the left margin is smaller
than the right margin.
Using Xpdf instead of Acrobat Reader shows the same anomalies.
Changing marginwidth to margin shows the same anomalies. and so on.
--
John Culleton
Able Typesetters and Indexers
http://wexfordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuplayout parameters
2003-08-07 16:00 \setuplayout parameters John Culleton
@ 2003-08-07 22:45 ` Hans Hagen
2003-09-02 16:53 ` Patrick Gundlach
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2003-08-07 22:45 UTC (permalink / raw)
At 12:00 07/08/2003 -0400, you wrote:
>I want to set up a book 5.5 x 8.5 with .5in margins left and right.
>During the development process I want to be able to print it on
>US standard 8.5 x 11 sheet of paper.
>
>Here is my current prologue (I have tried several):
>\setupoutput[pdftex]
>\definepapersize[bok][width=5.5in,height=8.5in]
>\setuppapersize[bok][letter]
>\setuplayout[marginwidth=.5in,location=middle]
\setuplayout[....,width=middle]
(location=middle centers on the paper)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuplayout parameters
2003-08-07 16:00 \setuplayout parameters John Culleton
2003-08-07 22:45 ` Hans Hagen
@ 2003-09-02 16:53 ` Patrick Gundlach
1 sibling, 0 replies; 3+ messages in thread
From: Patrick Gundlach @ 2003-09-02 16:53 UTC (permalink / raw)
Hello John,
John Culleton <john@wexfordpress.com> writes:
> I want to set up a book 5.5 x 8.5 with .5in margins left and right.
> During the development process I want to be able to print it on
> US standard 8.5 x 11 sheet of paper.
>
> Here is my current prologue (I have tried several):
> \setupoutput[pdftex]
> \definepapersize[bok][width=5.5in,height=8.5in]
> \setuppapersize[bok][letter]
> \setuplayout[marginwidth=.5in,location=middle]
> \showframe
The problem here is that you need to play with backspace, leftmargin
and leftmargindistance. To verify, use the layout[1] module and add
\usemodule [layout]
\ShowLayout[units=in]
in your document. The default in ConTeXt is that
leftmargin + leftmargindistance > backspace, so the layout gets
"shifted" a bit. It is not really a shift, because the backspace
parameter sets the left edge of the text.
[1] see http://levana.de/context/
Patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-02 16:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 16:00 \setuplayout parameters John Culleton
2003-08-07 22:45 ` Hans Hagen
2003-09-02 16:53 ` Patrick Gundlach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).