From 45e44894cecf4a655fa3a2c8e3ae6c47e85738d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 30 Nov 2017 00:52:17 +0100 Subject: [PATCH] UserGuide.lyx: workaround for a bug in nomencl see https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume for an explanation why the name of the nomenclature can be incorrect. nomencl is no longer under development since 12 years therefore we should switch to the glossaries package (#10015). --- lib/doc/Changelog-UserGuide-LyX_23x.txt | 1 + lib/doc/UserGuide.lyx | 41 +++++++++++++++++++++ lib/doc/fr/UserGuide.lyx | 47 +++++++++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/lib/doc/Changelog-UserGuide-LyX_23x.txt b/lib/doc/Changelog-UserGuide-LyX_23x.txt index cdbb36367f..558c5a9aad 100644 --- a/lib/doc/Changelog-UserGuide-LyX_23x.txt +++ b/lib/doc/Changelog-UserGuide-LyX_23x.txt @@ -25,6 +25,7 @@ second step: - sec. 6.7: changed sentences for a new option - sec. C.2.2.1: new paragraph (not French) - sec. D: new table row +- nomenclature: French only: new LyX comment For LyX 2.2.3: diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index eb081912cb..682464c2d2 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -50270,6 +50270,47 @@ The above bibliography is created from a Bib\SpecialChar TeX \end_layout \begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +nomname}{Nomenclature} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +The name of the nomenclature has to be redefined to English because a bug + in the +\series bold +nomencl +\series default + package takes the last used language for the title that is not the document + language. + See +\begin_inset CommandInset href +LatexCommand href +name "this" +target "https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume" +literal "false" + +\end_inset + + for a detailed explanation of the bug. +\end_layout + +\end_inset + + \begin_inset CommandInset nomencl_print LatexCommand printnomenclature set_width "auto" diff --git a/lib/doc/fr/UserGuide.lyx b/lib/doc/fr/UserGuide.lyx index 9896cfcba9..85249dabf7 100644 --- a/lib/doc/fr/UserGuide.lyx +++ b/lib/doc/fr/UserGuide.lyx @@ -52469,6 +52469,53 @@ La bibliographie ci-dessus a été créée à partir d'une base de données Bib\ \end_layout \begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +nomname}{Nomenclature} +\end_layout + +\end_inset + + +\lang english + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout + +\lang english +The name of the nomenclature has to be redefined to English because a bug + in the +\series bold +nomencl +\series default + package takes the last used language for the title that is not the document + language. + See +\begin_inset CommandInset href +LatexCommand href +name "this" +target "https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume" +literal "false" + +\end_inset + + for a detailed explanation of the bug. +\end_layout + +\end_inset + + +\lang french + \begin_inset CommandInset nomencl_print LatexCommand printnomenclature set_width "auto" -- 2.39.2