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

Bug#581556: texlive-latex-base: pdflatex produces wrong page size



Package: texlive-latex-base
Version: 2009-9
Severity: important

Hi!

pdflatex produces files of the wrong page size when I use
\documentclass[a5paper]{book}

The result is a PDF with an a4 page size, but with the text
occupying the top left portion of the page, corresponding to
the size of an a5 page. This is the case when I open the PDF
in either Evince or Xpdf.

When I compile the same tex-file using 'latex', the resulting
DVI file is fine when I open it in Evince.

I have included a minimal latex file below to reproduce the problem.
The bug report is marked as important, because it would be if this
is the case for all users of nonstandard page sizes.

When compiling it with pdflatex, I get the following output (when compiling
a file called Doc.tex):

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
 restricted \write18 enabled.
 entering extended mode
 (./Doc.tex
 LaTeX2e <2009/09/24>
 Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
 yphenation, loaded.
 (/usr/share/texmf-texlive/tex/latex/base/book.cls
 Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
 (/usr/share/texmf-texlive/tex/latex/base/bk10.clo)) (./Doc.aux)
 Chapter 1.
 [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./Doc.aux) )</usr/share
 /texmf-texlive/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-texl
 ive/fonts/type1/public/amsfonts/cm/cmr10.pfb>
 Output written on Doc.pdf (1 page, 20412 bytes).
 Transcript written on Doc.log.
 
Best regards
Torquil Sørensen

-- Package-specific info:
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##################################
minimal input file

\documentclass[a5paper]{book}

\begin{document}
\chapter{Chapter name}

Bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla 

\end{document}

##################################
other files

######################################
 List of ls-R files

-rw------- 1 tmac tmac 336 Mar 16 16:24 /home/tmac/texmf/ls-R
-rw-r--r-- 1 root root 988 May 12 21:40 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Mar 16 10:21 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Mar 16 01:26 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 May 10 09:04 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 May 10 09:04 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 Mar 16 01:26 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 3719 May 12 21:40 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 7414 May 12 21:40 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3110 May 12 21:40 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 Feb 28 05:15 mktex.cnf
######################################
 md5sums of texmf.d
3875bf0f4a53a29b7f247399dc9833e2  /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3  /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
bab3b7e578107f999fa1b0768994f6f8  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-latex-base depends on:
ii  dpkg                          1.15.7.1   Debian package management system
ii  tex-common                    2.07       common infrastructure for building
ii  texlive-base                  2009-9     TeX Live: Essential programs and f
ii  texlive-binaries              2009-6     Binaries for TeX Live
ii  texlive-common                2009-9     TeX Live: Base component

Versions of packages texlive-latex-base recommends:
pn  texlive-latex-base-doc        <none>     (no description available)

texlive-latex-base suggests no packages.

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  dpkg                          1.15.7.1   Debian package management system
ii  ucf                           3.0025     Update Configuration File: preserv

Versions of packages texlive-latex-base is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    2.07       common infrastructure for building

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



Reply to: