Stefano Franchi writes:

> Well, I think I have hit the LyX/Babel bug/feature again. I have a 
> babel declaration in my standard preamble, which declares both English 
> and Italian, with English coming last. That seems to be the problem. 
> selecting Italian in the language pane of the LyX settings also passes 
> the "Italian" option to the document class I am using (koma-book). I 
> can get the proper Italian-language label only if I:
> 
> 1. Export to Latex
> 2. delete the Italian language option from the documentclass declaration
> 3. rearrange the language options to Babel to have italian coming in 
> last.
> 
> Everything else I tried seems to fail, including omitting the babel 
> declaration altogether.
> 
> Surely there must be a better way?

I cannot reproduce your problem. Using the .lyx file pasted at the bottom,
I correctly get "Indice" instead of "Contents" in the output.

-- 
Enrico


#LyX 1.4.3 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass scrbook
\language italian
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
\begin_inset LatexCommand \tableofcontents{}

\end_inset


\end_layout

\begin_layout Chapter
Titolo
\end_layout

\begin_layout Standard
blah 
\lang english
blah
\end_layout

\end_body
\end_document


Reply via email to