[OS X TeX] Re: Is this geometry behavior correct?

Herbert Schulz herbs at wideopenwest.com
Fri Apr 6 03:24:25 CEST 2007


On Apr 5, 2007, at 7:16 PM, Geoff Vallis wrote:

>> This is not a big deal since the [dvips] option is easy to enter. I
>> just thought geometry detected pdf/dvi mode automatically.
>
> I think it is a feature, not a bug, that you have to enter the  
> [dvips] manually. If you use dvi mode when typesetting, the  
> geometry package cannot know that you will subsequently be using  
> dvips. You might use dvipdfm or dvipdfmx. I guess dvips is the most  
> common option, and could be the default. But in fact you can just  
> leave [dvips] in there all the time; when using pdflatex, this  
> option will be overwritten I believe.
>
> Geoff
>

Howdy,

Well, this seems to work: put

%% geometry.cfg for LaTeX
% make this the default---pdf or vtex override (xelatex picks up its  
version first)
\ExecuteOptions{dvips}
\endinput
%% End of file `geometry.cfg'.

into a file named geometry.cfg and place it into ~/Library/texmf/tex/ 
latex/TemporaryFixes/ (actually anywhere in or in a sub-directory of  
~/Library/texmf/tex/latex/) and it works there is no need to set up  
an option for dvips, pdflatex, vtex or xelatex (as long as you're not  
trying to compile a file in the sub-directory that contains the  
geometry.cfg file). You'll still have to manually set the option for  
dvipdfm.

This is like using [dvips] option all the time.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list