]> git.lyx.org Git - features.git/commitdiff
Math.lyx: add check for babel (bug #8423) and translate a comment
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 18 Nov 2012 23:14:28 +0000 (00:14 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 18 Nov 2012 23:14:28 +0000 (00:14 +0100)
(the other language variants of this manual are not affected)

lib/doc/Math.lyx

index 36dd725bf701dfdb0aa937a711f68e1a33ba72ba..a6502634eb952558e75abd23d8f3e9fa204ac753 100644 (file)
 
 \fi % end if pdflatex is used
 
-% Folgendes Problem lösen:
-% Besteht die Kapitelnummer aus zu vielen Ziffern, wird  die
-% Kapitelüberschrift im Inhaltsverzeichnis direkt an oder über
-% die Kapitelnummer geschrieben.
-% Als Lösung wird mehr Platz zwischen Nummer und
-% Überschrift eingefügt.
+% solves the following problem:
+% If the dection number consits of too many numerals the section heading
+% will be printed in the TOC without a space between it and the section number.
+% As solution more space between the number and the heading is inserted:
 \renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
 \renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
 
@@ -39,6 +37,7 @@
 
 % increase link area for cross-references and autoname them,
 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
+\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
 \addto\extrasenglish{%
  \renewcommand*{\equationautorefname}[1]{}
  \renewcommand{\sectionautorefname}{sec.\negthinspace}