]> git.lyx.org Git - lyx.git/commitdiff
Fix export with polyglossia and uninvert a manual
authorScott Kostyshak <skostysh@lyx.org>
Sat, 24 Oct 2015 04:57:08 +0000 (00:57 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 25 Oct 2015 04:12:25 +0000 (00:12 -0400)
development/autotests/revertedTests
lib/doc/fr/Math.lyx

index 79b22e09f63a414d1113f5fe755caa5bc7897383..f977028f9d2b1b240fee6bab2079e01262fec06b 100644 (file)
@@ -61,8 +61,6 @@ export/examples/gl/exemplo_lyxificado_(dvi3)_systemF
 export/examples/sr/Braille_pdf4_systemF
 export/examples/sr/splash_pdf4_systemF
 export/templates/RJournal_(dvi3|pdf[45])_systemF
-# TODO the Spanish Math_pdf5_systemF test passes. Why does this one fail?
-export/doc/fr/Math_pdf5_systemF
 # Changes in TeX Live 2014 (see git blame for info) fixed IEEEtran-CompSoc
 # pdf4_systemF but not others. TODO Investigate if others can be fixed?
 export/templates/IEEEtran-(Journal|TransMag)_pdf4_systemF
index 80bc0e622d4a8042d1d9c28f681779dcb51eae98..b32546a10b17c64eb74d948db96967ebdf97b5e2 100644 (file)
 \renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
 \renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
 
-% increase link area for cross-references and autoname them,
-\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\addto\extrasfrench{%
- \renewcommand*{\equationautorefname}[1]{}%
- \renewcommand{\sectionautorefname}{sec.\negthinspace}%
- \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
- \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
+\@ifpackageloaded{babel}{
+ % increase link area for cross-references and autoname them,
+ \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
+ \addto\extrasfrench{%
+  \renewcommand*{\equationautorefname}[1]{}%
+  \renewcommand{\sectionautorefname}{sec.\negthinspace}%
+  \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
+  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
+ }
 }
 
 % don't load packages twice
   \setboolean{upgreek}{true}}
  {\setboolean{upgreek}{false}}
 
-% use normal list environments also in French documents
-\frenchbsetup{StandardLayout}
+\@ifpackageloaded{babel}{
+ % use normal list environments also in French documents
+ \frenchbsetup{StandardLayout}
+}{}
 \end_preamble
 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
 \use_default_options false