[XeTeX] xelatex and geometry
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Wed Mar 26 19:04:25 CET 2008
Hi,
Jonathan Kew a écrit :
>> Second the geometry.cfg is (at least in miktex) in tex\xelatex and
>> isn't
>> found when pdflatex is used.
>>
>> So you can be quite sure that with pdflatex the original definition of
>> \Gm at checkdrivers is used and there \usepackage[dvixxx,...]{geometry}
>> works fine in both modes.
>
> OK, I see. But in that case, couldn't you simplify it greatly? How
> about:
>
> %% geometry.cfg for XeLaTeX
> % Public domain
>
> \@ifundefined{XeTeXversion}{}{%
> \def\Gm at checkdrivers{%
> \Gm at setdriver{pdftex}%
> }}
>
> \endinput
>
> %% End of file `geometry.cfg'.
>
Hum, my question is certainly stupid, but I can't help wondering: if the file
is in /tex/xelatex, when it is found we already know that we are running
XeTeX, aren't we? So, why the \@ifundefined{XeTeXversion}?
Manuel.
More information about the XeTeX
mailing list