[OS X TeX] Modifying geometry.sty (was TeXLive 2004, PDFTeX magnification problem.)

Bruno Voisin bvoisin at mac.com
Thu Dec 30 09:30:13 EST 2004

Le 30 déc. 04, à 14:24, Frank STENGEL a écrit :

> I am currently trying to hack geometry.sty to take into account the 
> recent modifications in the way pdftex works with respect to 
> magnification and initial conditions. Basically I am re-setting 
> \pdf{hv}offset...
> What is the correct way to propagate these changes? Do I contact the 
> author first and then modify the file or (tonge in cheek) do I 
> directly modify the, file post them and then ask the author?

The best thing would certainly be to contact the author and describe 
briefly the problem in case he's not aware of it. And if the author is 
no longer maintaining the package, you might also look at the newsgroup 

I can't be of much help, as I'm not using geometry.sty myself. Looking 
briefly at the code, it looks so intricate and so sophisticated that 
I'm not sure anybody but the original author can fix things properly.

You may try putting in your preamble, without any guarantee at all, 
based on the \AtBeginDocument code inside geometry.sty:

   \ifGm at pass\else


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 MacOSX-TeX mailing list