mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
thesis template: add check for babel (as discussed in bug #8423)
This commit is contained in:
parent
dc8bbefe01
commit
2f99aabf6d
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -71,6 +71,9 @@ What's new
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
- Make the thesis template compilable again. (The reason for this bug
|
||||
was that LyX no longer loads the babel package if the document
|
||||
language is English and no other languages are used in the file.)
|
||||
|
||||
|
||||
* LYXHTML
|
||||
|
Loading…
Reference in New Issue
Block a user