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

Martin Schröder martin at oneiros.de
Fri Jan 27 21:47:50 CET 2006


Phil,
please READ http://www.pdftex.org/README

<quote>
WHAT TO DO IF YOU BELIEVE YOU HAVE FOUND A BUG IN pdfTeX
========================================================

Please read http://www.chiark.greenend.org.uk/~sgtatham/bugs.html and
follow the guidelines there. Then go to the sarovar site of pdfTeX
(http://sarovar.org/projects/pdftex/) and submit your bug report there.
Here you can also report feature requests or patches.
</quote>

To report possible bugs in pdfTeX you DON'T cry wolf everywhere.

On 2006-01-27 20:09:34 +0100, Heiko Oberdiek wrote:
> On Fri, Jan 27, 2006 at 06:17:16PM +0000, Philip TAYLOR wrote:
> 
> > Dear all -- The following preamble produces a correctly
> > centered letter using TeX, but PdfTeX appears to offset
> > everything by about 1,5 em (see commented-out \advance
> > at-end).  A sample document follows.
> > 
> 
> % pdfTeX also knows \pdfhorigin and \pdfvorigin
> % In my teTeX installation the values are set during generating
> % the format files in pdftexconfig.tex:

From the pdftex manual (also available from http://www.pdftex.org)
<quote>
- \pdfhorigin (dimension) 
This parameter can be used to set the horizontal offset the
output box from the top left corner of the page. A value of 1
inch corresponds to the normal TeX offset.  This parameter is
read when pdfTeX starts shipping out a page to the pdf output. 

For standard purposes, this parameter should always be kept at 1
true inch. If you want to shift text on the page, use TeX's own
\hoffset primitive. To avoid surprises, after global
magnification has been changed by the \mag primitive, the
\pdfhorigin parameter should still be 1 true inch, e. g. by
typing \pdfhorigin=1 true in after issuing the \mag command. Or,
you can preadjust the \pdfhorigin value before typing \mag, so
that its value after the \mag command ends up at 1 true inch
again. 

- \pdfvorigin (dimension) 
This parameter is the vertical companion of \pdfhorigin, and the
notes above regarding \mag and true dimensions apply. Also keep
in mind that the TeX coordinate system starts in the top left
corner (downward), while pdf coordinates start at the bottom left
corner (upward).
</quote>

Best
    Martin
-- 
                    http://www.tm.oneiros.de


More information about the ntg-pdftex mailing list