[tex-k] Re: Possible bug in pdfetexk (re \hoffset)?

Heiko Oberdiek oberdiek at uni-freiburg.de
Sun Jan 29 11:48:54 CET 2006


On Sat, Jan 28, 2006 at 04:45:52PM -0800, Donald Arseneau wrote:

> Heiko Oberdiek <oberdiek at uni-freiburg.de> writes:
> 
> > With converting of \pdfpage{width,height} to truept:
> 
> These should all be handled like \hsize and \vsize, where they are set 
> to ordinary scalable units in the format or config files, but set to 
> "true" units in \m at g.  I don't see why you need \mag at fix\pdfpagewidth

My format contains (teTeX) is generated on pdftex.ini:

    \input pdftexconfig\pdfoutput=1
    \input plain
    \dump
    \endinput

pdftexconfig.tex contains:

    \pdfoutput=1
    \pdfcompresslevel=9
    \pdfdecimaldigits=3
    \pdfpagewidth=210 true mm
    \pdfpageheight=297 true mm
    \pdfhorigin=1 true in
    \pdfvorigin=1 true in
    \pdfpkresolution=600
    \pdfminorversion=4
    \endinput

The test file

    \showthe\pdfpagewidth
    \mag\magstep5
    \showthe\pdfpagewidth
    \null
    \end

The result is two times 597.50787pt and the page size of the
media box in the generated pdf file is:
  1481.05 bp x 2094.62 bp
--> much too large.

Regarding \hsize, \vsize: any setting before \magnification
is overwritten by the code of \magnification in plain.tex.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 



More information about the tex-k mailing list