]> git.lyx.org Git - features.git/commitdiff
Spanish Tutorial.lyx: preamble code proposed by Günther
authorUwe Stöhr <uwestoehr@lyx.org>
Fri, 4 Dec 2015 00:48:14 +0000 (01:48 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Fri, 4 Dec 2015 00:48:14 +0000 (01:48 +0100)
- please don't revert anything only because compiling with system fonts fails. This is not the scope of the manuals.

lib/doc/es/Tutorial.lyx

index 05eab1a0f7f9905e7ca424340fc9c576893de1ae..3127d4ad36e33e207757d0830bc3e48d74cedd62 100644 (file)
 % the documentation team
 % email: lyx-docs@lists.lyx.org
 
-\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
+% Work around a bug in Babel-Spanish with \lim if non-TeX fonts are used:
+\@ifpackageloaded{fontspec}{\unaccentedoperators}{}
 
 % the pages of the TOC is numbered roman
 % and a pdf-bookmark for the TOC is added