On 2015-10-25, Georg Baum wrote: > 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. OTOH, without the code, the output depends on your LaTeX installation too: * if "CM-Super" is installed, it is used as T1 substitute for CM. * if "CM-Super" is not installed, the bitmapped EC fonts are used as T1 substitute for CM. This is, because LyX has the strange behaviour of setting the font encoding to T1 (while the LaTeX default is OT1) but not setting the recommended T1-encoded font (LModern)! Günter