From 6bdc561714ef3360cfc5ee0efe4853945296ba9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 19 Nov 2012 00:14:28 +0100 Subject: [PATCH] Math.lyx: add check for babel (bug #8423) and translate a comment (the other language variants of this manual are not affected) --- lib/doc/Math.lyx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 36dd725bf7..a6502634eb 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -23,12 +23,10 @@ \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} -- 2.39.5