Thanks Herbert, it seems that you are psychic, as the cause of the
problem was exactly what you pointed out. I had a hidden 
  \language english
Command somewhere in the 11th chapter, and after removing it everything
went fine!



Thanks,
Daniel.

> -----Original Message-----
> From: Herbert Voss [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 05, 2002 4:24 PM
> To: Daniel Danciu
> Cc: [EMAIL PROTECTED]
> Subject: Re: Changing the documentclass to a different locale
> 
> 
> Daniel Danciu wrote:
> 
> > 
> > I am using lyx to edit a Java book in Romanian. I changed 
> the default 
> > language to Romanian from the document options dialog 
> window, hoping 
> > that this way Lyx will use the romanian.sty file when rendering the 
> > document. But it doesn't. I tried to figure out what happened and 
> > exported my document to latex. I checked the exported file 
> and noticed 
> > that the problem is with the documentclass{} command, which 
> looks like
> > this:
> >  \documentclass[10pt,english,...,romanian]{book}
> > 
> > If I remove the "english" property, everything works fine, 
> and get the 
> > Bibliography, Chapter, Part etc. in Romanian.
> > 
> > Does anybody know how to get around this problem? Is this a 
> Lyx bug or 
> > am I doing something wrong?
> 
> 
> I suppose that there is a command
> \lang english
> anywhere in your lyx doc before an empty paragraph
> so that you can't see it on the screen.
> - try to mark the whole text and do a
>    layout->character->language->reset
> - if this doesn't help, save the doc and load the
>    lyxfile into any ascii-editor and search for a
>    line \lang english and delete it
> 
> HErbert
> 
> 
> 
> -- 
> http://www.lyx.org/help/
> 

Reply via email to