Georg Baum <[EMAIL PROTECTED]> writes:
> > I use documentclass "book (AMS)" to write a German text but the words for
> > "theorem", "proof", "remark" etc only appear in English. I want them in
> > German.
>
> You have to adjust the layout files, see here:
> http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg41722.html
Thanks! I am trying to do that. 2 problems:
- when I save amsbook.layout to ~/.lyx/layouts/amsbook-de.layout and
change the 2 lines in that file that say "book (AMS)" to "book (AMSde),
then tell LyX to reconfigure, and restart lyx,
then the layout shows up in the pull-down menu for document class as
"Unavailable: book (AMSde)".
- Where are all those English words I want to translate? Not in
amsbook.layout (except "Theorem" and "Exercises"). This file imports
lots of others:
Input stdsections.inc
(and other names instead of "stdsections" too).
Where do I find those files?
And do I have to edit them system-wide
or is there one way to do it with a normal non-privileged user account?
> > I have already set the preamble to include
> >
> > \usepackage{babel}
> > \selectlanguage{ngerman}
>
> You should better set the document language to ngerman, LyX will then
> make the
> needed babel settings.
Thanks for the hint; I just did that. Although, the latex export file
looks exactly the same except that instead of
\documentclass[12pt,a4paper,ngerman]{amsbook}
it now says:
\documentclass[12pt,a4paper,ngerman,ngerman]{amsbook}
When do as you say and also remove the \usepackage, \selectlanguage,
then I still get ngerman twice. Maybe because my document default language
is also ngerman.