Bug#240412: tetex-extra: revtex4 \pageheight and letterpaper bug
Package: tetex-extra
Version: 2.0.2-6
Severity: minor
The following document produces output "0pt 0pt":
\documentclass{revtex4}
\begin{document}
\the\paperwidth\ \the\paperheight
\end{document}
whereas
\documentclass[letterpaper]{revtex4}
\begin{document}
\the\paperwidth\ \the\paperheight
\end{document}
produces as expected "614.295pt 794.96999pt". With documentclass
article, there is no difference in the two cases.
revtex4's ltxgrid.cls contains the following:
\DeclareOption{letterpaper}
{\setlength\paperheight {11in}%
\setlength\paperwidth {8.5in}}
But this code is never executed if none of the paper options are
given.
According to the REVTeX4 Command Summary page 2, letterpaper is
default and therefore there should be no difference between not
specifying any paper option and specifying letterpaper. My example
shows that this is not the case with respect to the \paperheight and
\paperwidth lengths.
A good solution would be to have a \ExecuteOptions{letterpaper}
somewhere.
I reported this to revtex@aps.org and got as answer that
work/maintenance of revtex4 at APS has stalled and that they
considered fixing it if (sic) they make a new release. In view of the
other outstanding revtex4 bug, I'd think that this warrants fixes
either in Debian or in teTeX... what do you think?
Thanks,
Hein
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-hein3
Locale: LANG=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1 (ignored: LC_ALL set to en_US.ISO8859-1)
Versions of packages tetex-extra depends on:
ii dpkg 1.10.20 Package maintenance system for Deb
ii gsfonts 6.0-2.2 Fonts for the ghostscript interpre
ii perl-tk 1:800.025-2 Perl module providing the Tk graph
ii tetex-base 2.0.2-6 Basic library files of teTeX
ii tetex-bin 2.0.2-10 The teTeX binary files
-- no debconf information
Reply to: