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

Bug#225833: 225833: letter vs A4 in TeX



[Adding the bug back to the cc list; I inadvertently dropped it a
message back.]
On Mon, 2007-01-29 at 22:42 +0100, Frank Küster wrote:
> Ross Boylan <ross@biostat.ucsf.edu> wrote:
> 
> > On Mon, 2007-01-29 at 20:30 +0100, Frank Küster wrote:
> >> Ross Boylan <ross@biostat.ucsf.edu> wrote:
> >> 
> >> > I explicitly specified the papersize (as letterpaper) in the document
> >> > and used the geometry package, and still ended up with A4 coming out,
> >> > both when using pdflatex and when using latex and dvips or xdvi.
> >> 
> >> Then either something very strange is going on, or your problem is not
> >> related to TeX.  If you compile your example document with pdflatex and
> >> look at the output of pdfinfo on the generated PDF file, it should look
> >> similar to this:
> > Do you have any advice on how to test this, given that I've run
> > texconfig-sys subsequently?  Maybe I should try specifying A4 in the
> > document and see if I get A4 or letter?
> 
> It shouldn't matter at all what texconfig-sys is setup for,
> geometry.sty's settings should take precedence.
Well, after I ran texconfig-sys I got what I wanted, but that presumably
was caused by texconfig, not my document settings.

So I tried with A4, since my default is now letterpaper.  The pdf seems
to be OK, but the result of dvips is letter size according to gv.

Input file
\listfiles
\documentclass[a4paper]{article}
\usepackage[paper=a4paper]{geometry}

\begin{document}
This is a little test of the paper size.
\end{document}

pdfinfo:
Creator:        TeX
Producer:       pdfeTeX-1.21a
CreationDate:   Mon Jan 29 14:02:13 2007
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      6530 bytes
Optimized:      no
PDF version:    1.4
[snip]
> 
> Please, send us the output of pdfinfo on the
> minimal example document that you posted.  And the logfile; or wait,
> please add
> 
> \listfiles
> 
> as the very first line, before \documentclass, and then run pdflatex
> again and send the log file.
> 
> Regards, Frank
Since pdflatex came out OK, I've attached the log of the latex run.

Ross
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex 2007.1.26)  29 JAN 2007 14:13
entering extended mode
**t
(./t.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf-tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-tetex/tex/latex/geometry/geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry

(/usr/share/texmf-tetex/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
\Gm@cnth=\count87
\Gm@cntv=\count88
\c@Gm@tempcnt=\count89
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@dimlist=\toks15

(/usr/share/texmf-tetex/tex/latex/geometry/geometry.cfg)) (./t.aux)
\openout1 = `t.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
-------------------- Geometry parameters
paper: a4paper
landscape: --
twocolumn: --
twoside: --
asymmetric: --
h-parts: 89.62709pt, 0.7\paperwidth , 89.6271pt (default)
v-parts: 101.40665pt, 0.7\paperheight , 152.11pt (default)
hmarginratio: 1:1
vmarginratio: 2:3
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver: 
-------------------- Page layout dimensions and switches
\paperwidth  597.50787pt
\paperheight 845.04684pt
\textwidth  418.25368pt
\textheight 591.5302pt
\oddsidemargin  17.3571pt
\evensidemargin 17.3571pt
\topmargin  -7.86334pt
\headheight 12.0pt
\headsep    25.0pt
\footskip   30.0pt
\marginparwidth 57.0pt
\marginparsep   11.0pt
\columnsep  10.0pt
\skip\footins  9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000

(1in=72.27pt, 1cm=28.45pt)
-----------------------
 [1

]
(./t.aux)

 *File List*
 article.cls    2004/02/16 v1.4f Standard LaTeX document class
  size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
geometry.sty    2002/07/08 v3.2 Page Geometry
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
geometry.cfg
 ***********

 ) 
Here is how much of TeX's memory you used:
 554 strings out of 94500
 7279 string characters out of 1175788
 55697 words of memory out of 1000000
 3798 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 500000 for 2000
 580 hyphenation exceptions out of 8191
 23i,4n,23p,141b,107s stack positions out of 1500i,500n,5000p,200000b,5000s

Output written on t.dvi (1 page, 260 bytes).

Reply to: