Hi Maria,

thank you for your reply.

Unfortunately it doesn't work for me that way. When I have a Russian document with some English words in it, everything works just fine. Problem is, when I write Russian document with another language which has some special characters also (for example Czech, Deutsch) then I get the error specified earlier. This error shows up only when specific characters for the second language are used (for example when I write only numbers with Deutsch or Czech language in Russian document, everything is OK). It seems to be that Lyx 1.4.4 under windows doesn't like two foreign languages with their specific characters on the same line in one document :-(

Any other suggestion, could this be solved with ERT for example?

thank you

Ludek

Maria Gouskova napsal(a):
Hi Ludek,

I can switch from Russian to English on the same line. I am using a Mac so things aren't exactly the same, but here is how I do it (LyX 1.4.4, Intel/Mac OS 10.4.9):

1. LyX>Document>Settings>Language, set "Language" to Russian.
2. In your OS, switch to a Cyrillic/Russian keyboard layout when you need the Russian text. This works whether it's on the same line or not. English/Roman text appears when you switch back to the Roman keyboard layout. 3. View file through PDFLatex or any other method--it should render both English and Russian correctly.

There is also another method, describe on http://wiki.lyx.org/LyX/LinguistLyX#toc19 <http://wiki.lyx.org/LyX/LinguistLyX#toc19>.

Maria


On 5/21/07, *Ludek Borovansky* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    I have a problem with Lyx 1.4.4 under Windows (and Miktex) writing
    multi
    language documents. I  have my document set up as Deutsch, but I need
    from time to time to type in a Russian language  for example.But
    when I
    change a language via menu Edit/Text Style and also I change keyboard
    layout under windows, I am able to write in Russian only when there is
    no other language on the same line in the document. If there is for
    example a text in Deutsch at the beginning of the  line and then I try
    to type something in Cyrillic, I get error when trying to view
    document
    as a PDF file. It says something like:
    Missing $ inserted - " ...\foreignlanguage{russian}{45Ů×ÁĐŮ×ÁĐÁ×ĐÁ×}"
    and Latex error: command \DH unavailable in encoding T2A etc.

    This error is not showing up if I write only Russian
    document  or  if  I
    keep  different languages on separate lines (not mixing languages
    on the
    same lines of text).

    I have babel installed and enabled, also I have tried to switch to 1.5
    beta 3 version of Lyx where I don't have this problem, but
    unfortunately
    this  version is not stable  for me yet and it keeps crashing now
    and then.


    Any help would be appreciated, I like Lyx and its layout of documents
    very much.

    Ludek Borovansky






Reply via email to