]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Implement l7n for nomenclature.
[lyx.git] / lib / layouts / stdinsets.inc
index da91f1c189de06bbec652114e63a384f909e650c..a5f60b1cc36e7965ee51e042942c9a478e18da34 100644 (file)
@@ -698,7 +698,21 @@ End
 
 
 InsetLayout PrintNomencl
-  HTMLTag h2
+       BabelPreamble
+               \addto\captions$$lang{%
+                       \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
+                       \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
+                       \def\nomname{_(Nomenclature[[output]])}%
+               }
+       EndBabelPreamble
+       # The command is defined for several languages in nomencl.sty. However, we need to define
+       # it anyway for the other, non suppported languages.
+       LangPreamble
+               \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
+               \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
+               \def\nomname{_(Nomenclature[[output]])}
+       EndLangPreamble
+       HTMLTag h2
 End
 
 InsetLayout Tabular