[tex-live] [Fwd: [OS X TeX] Bug in latest pdfTeX (and/or teTeX) with respect to \magnification?]

Gerben Wierda Gerben.Wierda at rna.nl
Mon Dec 20 16:24:14 CET 2004

I saw this message on the TeX on Mac OS X list. Not being a pdfTeX expert
(I just redistribute) I wondered what is going on. Can someone educate me?


---------------------------- Original Message ----------------------------
Subject: [OS X TeX] Bug in latest pdfTeX (and/or teTeX) with respect to
\magnification? From:    "Bruno Voisin" <bvoisin at mac.com>
Date:    Mon, December 20, 2004 10:26
To:      "TeX on Mac OS X Mailing List" <MacOSX-TeX at email.esm.psu.edu>


I've just noticed something odd, when typesetting a letter in plain TeX  
for a change:

- The setup is TL2004, installed via i-Installer with A4 selected as   the
default paper size.

- When \magnification is not altered, in pdfTeX the paper size is A4 as  
it should.

- When \magnification is changed (for example
\magnification=\magstep1), the page size (ie the width and height of  
text) remains A4 but the paper size (ie the size of the physcal sheet   of
paper) is affected by the magnification.

It seems that in TL2004 the file pdftex.cfg has vanished and is
replaced by
which contains all the proper settings:

	\pdfpagewidth=594.99 true bp
	\pdfpageheight=841.99 true bp
	\pdfhorigin=1 true in
	\pdfvorigin=1 true in

- When this file is not read, the above result is obtained.

- When this file is explicitly read (by \input pdftexconfig) after  
setting the magnification, namely:

	\input pdftexconfig

then the paper size is brought back to A4 as it should.

- When this file is read before setting the magnification, namely:

	\input pdftexconfig

then an error is produced:

	! Incompatible magnification (1200);
	 the previous value will be retained (1000).
	\m at g ->\mag \count@ \hsize 6.5true
	                                  in\vsize 8.9truein\dimen \footins
	<to be read again>
	l.3 \magnification=\magstep1

Is there something obvious I've done wrong? Or is this a bug in pdfTeX?

I've verified the same occurs with
/usr/local/teTeX/share/texmf.tetex/tex/plain/base/story.tex, thus it  
doesn't seem specific to my TeX input file.

Bruno Voisin

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the tex-live mailing list