[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] B5 Page Setup
From: |
Gavin Smith |
Subject: |
Re: [help-texinfo] B5 Page Setup |
Date: |
Sun, 22 Oct 2017 18:45:28 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Oct 12, 2017 at 11:17:51AM +0200, Christopher Dimech wrote:
> Have tried using @pagesizes, however some ot the text on the right side
> is being cut off.
I got the same. Unfortunately, this kind of thing isn't tested that much.
If you can override the paper size when printing, you
should be fine. I suspect the page width is being set incorrectly inside
the definition of \pagesizes. When I add 1 inch to the paper width, the
text meets the right edge of the page exactly.
Index: texinfo.tex
===================================================================
--- texinfo.tex (revision 7953)
+++ texinfo.tex (working copy)
@@ -11428,6 +11428,7 @@
%
\dimen2 = \hsize
\advance\dimen2 by \normaloffset
+ \advance\dimen2 by 1in
%
\internalpagesizes{#1}{\hsize}%
{\voffset}{\normaloffset}%
I did not choose 1 inch arbitrarily here: by default, the top-left
corner of a page in DVI format is 1 inch from the left edge and 1 inch
from the top edge.
This may still not be an appropriate fix as the margins are wrong (large
left margin and zero right margin). As far as I know there isn't a good,
documented way to change the page margins to any value you want.
Note that in the past the page size parameters were not placed in the
DVI file by texinfo.tex, so the text would only have been cut off at the
right margin for the PDF file. You would have to have given the paper size
separately when printing the DVI file.
I tried processing the same test file for DVI output but when I look at
the result in xdvi there is more margin on the right-hand side. I am
probably missing something in the xdvi man page.