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

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



On 2005-01-11 14:30:02 +0100, Frank Küster wrote:
> Then you have given dvips the correct papersize options, or have
> configured them generally.

No, I just did a "dvips slidetest.dvi -o" and my .dvipsrc doesn't
contain anything about the papersize. If the papersize is determined
at this time, then perhaps the Debian package has some default
option. The PS file says:

%%PaperSize: A4

This is either hardcoded (but this would be surprising) or dvips
looks at /etc/papersize (which contains a4 here).

> 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.

I don't understand. pdfinfo says:

Creator:        TeX
Producer:       pdfTeX-1.10b
CreationDate:   Tue Jan 11 11:07:00 2005
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      8341 bytes
Optimized:      no
PDF version:    1.4

So, pdflatex could get the page size. But it didn't put the page in
landscape orientation (dvips did that automatically, I didn't need
to provide the "-t landscape" option).

> 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.

Note that in my .tex file, I used the a4 option. This should be
sufficient.

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

I don't think we can close it yet due to my comments above.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: