Guenter Milde wrote:

> It turned out, that the problem is the preamble code:
> 
>   \usepackage{ifpdf} % part of the hyperref bundle
>   \ifpdf % if pdflatex is used
>   
>   % set fonts for nicer pdf view
>   \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
>   
>   \fi % end if pdflatex is used
> 
> \ifpdf tests the *output format*, i.e. DVI vs. PDF. It is also true for
> XeTeX and LuaTeX and hence not suitable at this place.

Indeed. Another reason against using the code is that the output depends on 
your LaTeX installation (lmodern installed or not), which is at least 
surprising.


Georg


Reply via email to