On Tue, 9 Feb 1999, Alexander Stasinski wrote:
>
> Thanks! Now it works fine, but I wonder if can change the names of the
> environments as the appear inside LyX, i e on the menu with environments, as
> well. Is this possible?
You have to define a (in this case) Swedish version of the layout file, and
of all the files it includes (directly, or indirectly). The names that
appears in the environment menu ("Standard", "Section", "Enumerate" etc)
are the actual name of the "Style"s in the layout files; the labels in
the buffer view ("Chapter", "Part #" etc) are set with LabelString in each
Style. (See Chapter 6 in Customization.lyx -- "Help->Customization", ummm
"Hjälp->Anpassning" for details) The only problem is that if you create
your own Style names, they will all be converted to "Standard" if you
switch from your new document class to the standard ones, as there are no
mechanism in LyX to decide how to substitute styles for eachother.
(think we could do with such a mechanism even for the original classes;
when an article grows into a report, Sections ought to be transformed to
Chapters, Subsections to Sections and vice versa..)
I translated the std*.inc files and the book, article, report and letter to
Swedish a few months back, but not in a particulary clever way (just made
full copies of the lot, and changed the Style and LabelString items; using
copystyle is probably better), and the original files has changed since
then. ...the letter class in LaTeX is inappropriate for Swedish (as for most
non-anglosaxon letters I suspect) anyway, scrlettr (KOMA) is probably
a better start for a Swedish "brev"-layout.
Joacim
-
All programmers are playwrights and all computers are lousy actors.
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.