somehow the spellchecker doesnt figure out that the language was changed. peculiar ...


martin

On 07/02/06, Charles de Miramon < [EMAIL PROTECTED]> wrote:
Martin A. Hansen wrote:


>
> but this doesnt seem to work - the result is a all-danish document ... ?
>
>

Strange, here it works. See attached file. Maybe, you have a done a slight
error (like putting return and not ctrl-return in the ERT box).

Cheers,
Charles
--
http://www.kde-france.org


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage[danish,english]{babel}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes 0

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
selectlanguage{english}
\end_inset 


\layout Title

Test
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

English Abstract
\layout Standard

This is a section written in English.
 At this point the language should of cause be in english, and the next
 section is in Danish.
 And the next section again, is in English once more.
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
selectlanguage{danish}
\end_inset 


\layout Section

Dansk Sammenfatning
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard

Dette er et afsnit på dansk.
 Bla-Bla-Bla.
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
selectlanguage{english}
\end_inset 


\layout Section

Next Section
\layout Standard

Back in English again: Yak-Yak-Yak.
\the_end

Reply via email to