[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#289848: tetex-bin: pdflatex generates truncated seminar slides



Vincent Lefevre <vincent@vinc17.org> wrote:

> Package: tetex-bin
> Version: 2.0.2-25
> Severity: normal
>
> pdflatex generates a PDF file containing truncated seminar slides.
> Here's an example:
>
[...]
> All PDF viewers (GPL Ghostscript 8.01, gv 3.6.1, xpdf 3.00, acroread 4)
> display the generated slides truncated on the right. So, I assume that
> the problem comes from the generated PDF file, not from the viewers.

Yes, the problem is in the file.

> Note that there's no such problem with latex + dvips + ps2pdf (except
> with gv -- perhaps bug #142228 for this one).

Then you have given dvips the correct papersize options, or have
configured them generally. In your example, there is no way for pdftex
to know which physical pages sizes you want. Of course it knows of the
area it can use for typesetting, but this is a different thing. If you
use \usepackage{hyperref} (and IIRC geometry.sty as well), it will read
the a4paper specification from the global options and put a PDF-special
indicating the papersize into the PDF file.

So essentially this is not a bug in pdftex, rather it is a limitation in
how LaTeX typesetting works, and can quite easily be fixed by adding
additional \usepackage commands.

If you think that we can close this bug, please send your answer to
289848-done@bugs.debian.org.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: