geometry package does not respect default paper size
Bug #155222 reported by
Dan Drake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
texlive-base (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: texlive-base
The geometry package defaults to letter-size paper, even when the texconfig utility has been used to make A4 paper the default.
The following LaTeX document is compiled to a PDF with letter-size paper. Commenting out the "\usepackage{
\documentclass{
\usepackage{
\begin{document}
This is a \LaTeX\ document.
\end{document}
Moreover, /etc/papersize is set to A4, and my locale is en_GB. Between all of those, it seems like the geometry package should understand that I'd like A4 paper!
Thanks for helping with this.
Changed in texlive-base: | |
status: | New → Invalid |
To post a comment you must log in.
Hi Dan!
On So, 21 Okt 2007, Dan Drake wrote: geometry} " produces A4-sized
> The geometry package defaults to letter-size paper, even when the
> texconfig utility has been used to make A4 paper the default.
>
> The following LaTeX document is compiled to a PDF with letter-size
> paper. Commenting out the "\usepackage{
> output on my system.
There are two things here you are mentioning:
- default paper size in TeX versus /etc/papersize
- default paper size for geometry
The topic is an old one dating back from Debian tetex bug reports from
tetex 1.0 (bug #49149 from 1999!).
I ask everyone to read in detail the discussion which has taken place in bugs.debian. org/cgi- bin/bugreport. cgi?bug= 402994).
Debian bug #402994
(http://
First of all:
- TeX has NO NOTION of papersize!!! Forget what you heard.
- dvips and pdftex can use some hints put into the dvi file to determine
which papersize was the expected one
- all this is in no way supported upstream.
Short solution for ALL your problem: SPECIFY THE PAPERSIZE!!!
> \documentclass{ article} geometry}
> \usepackage{
> \begin{document}
> This is a \LaTeX\ document.
> \end{document}
>
> Moreover, /etc/papersize is set to A4, and my locale is en_GB. Between
> all of those, it seems like the geometry package should understand that
> I'd like A4 paper!
Well, that is your opinion. You can configure geometry.sty using
geometry.cfg.
But AGAIN I recommend doing something as simple as [a4paper] {article}
\documentclass
You DON'T want to have your document layout changed with every transfer
on a different computer, do you????
BTW: If someone, Ubuntu maintainers or someone else, wants to help with
this, in the above mentioned bug report there are already some proposals
how to support a useful mechanism ... help is appreciated, we will not
implement this in any reasonable time frame, first since we don't have
enough man power, second because we (debian-tex-maint developer) think
that you should specify what you want.
Best wishes
Norbert
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------
VALLETTA (n.)
On ornate head-dress or loose garment worn by a person in the belief
that it renders then invisibly native and not like a tourist at
all. People who don huge colonial straw collie hats with 'I Luv Lagos'
on them in Nigeria, or fat solicitors from Tonbridge on holiday in
Malaya who insist on appearing in the hotel lobby wearing a sarong
know what we're on about.
--- Douglas Adams, The Meaning of Liff