]> git.lyx.org Git - lyx.git/blobdiff - lib/templates/thesis/thesis.lyx
Merge remote-tracking branch 'origin/master' into features/latexargs
[lyx.git] / lib / templates / thesis / thesis.lyx
index 580f94e8a1cf073b9a492928621b5e284076cce9..82f26ac7990f3d990a2d3c6d9118cfd37f321b08 100644 (file)
@@ -5,7 +5,10 @@
 \textclass scrbook
 \begin_preamble
 % increases link area for cross-references and autoname them
+% if you change the document language to e.g. French
+% you must change "extrasenglish" to "extrasfrench"
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
+\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
 \addto\extrasenglish{%
  \renewcommand*{\equationautorefname}[1]{}
  \renewcommand{\sectionautorefname}{sec.\negthinspace}