Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Jürgen Spitzmüller
2012/8/8 Stephan Witt: > Sorry, I noticed it by "accident" and did not report it yet. > I don't know when it slipped in and had no time to verify it. I do know. I have introduced it :-) Jürgen

Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Stephan Witt
Am 08.08.2012 um 17:04 schrieb Jürgen Spitzmüller: > 2012/8/8 Stephan Witt: >> But the bug, I've encountered some weeks ago isn't fixed. > > I must have missed this report. Try again. Thank you. Sorry, I noticed it by "accident" and did not report it yet. I don't know when it slipped in and had

Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Jürgen Spitzmüller
2012/8/8 Stephan Witt: > But the bug, I've encountered some weeks ago isn't fixed. I must have missed this report. Try again. Jürgen

Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Stephan Witt
Am 08.08.2012 um 11:28 schrieb Jürgen Spitzmüller: > 2012/8/8 Stephan Witt: >> Here you are. > > Thanks. My bad. Should be fixed now. > > Jürgen Ok, it's better now. But the bug, I've encountered some weeks ago isn't fixed. See the attached example. If the document language is english and th

Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Jürgen Spitzmüller
2012/8/8 Stephan Witt: > Here you are. Thanks. My bad. Should be fixed now. Jürgen > Stephan

Re: [patch] lyxrc.default_language and babel

2012-08-08 Thread Stephan Witt
Am 08.08.2012 um 08:31 schrieb Jürgen Spitzmüller: > 2012/8/8 Stephan Witt : >> I've a problem here - but this was present before this change already. >> >> If I create a new document and insert only one word I get compile errors >> because of the package babel not using any language. I have to s

Re: [patch] lyxrc.default_language and babel

2012-08-07 Thread Jürgen Spitzmüller
2012/8/8 Stephan Witt : > I've a problem here - but this was present before this change already. > > If I create a new document and insert only one word I get compile errors > because of the package babel not using any language. I have to set the > document language to overcome this. Can you send

Re: [patch] lyxrc.default_language and babel

2012-08-07 Thread Stephan Witt
Am 07.08.2012 um 08:31 schrieb Jürgen Spitzmüller: > 2012/8/7 Jürgen Spitzmüller: >> 2012/8/6 Jean-Marc Lasgouttes: >>> I can't really see the patch on my smartphone, but why not drop the variable >>> ? The default language can be set through the default.lyx template. >> >> Yes, the variable prob

Re: [patch] lyxrc.default_language and babel

2012-08-06 Thread Jürgen Spitzmüller
2012/8/7 Jürgen Spitzmüller: > 2012/8/6 Jean-Marc Lasgouttes: >> I can't really see the patch on my smartphone, but why not drop the variable >> ? The default language can be set through the default.lyx template. > > Yes, the variable probably can be dropped. But this is independent > from this bug

Re: [patch] lyxrc.default_language and babel

2012-08-06 Thread Jürgen Spitzmüller
2012/8/6 Jean-Marc Lasgouttes: > I can't really see the patch on my smartphone, but why not drop the variable > ? The default language can be set through the default.lyx template. Yes, the variable probably can be dropped. But this is independent from this bug (the variable is still used at some o

Re: [patch] lyxrc.default_language and babel

2012-08-06 Thread Jean-Marc Lasgouttes
I can't really see the patch on my smartphone, but why not drop the variable ? The default language can be set through the default.lyx template. JMarc "Jürgen Spitzmüller" a écrit : >In LaTeXFeatures::useBabel() we have a check that only loads babel if >bufferParams().language->lang() != lyxr

Re: [patch] lyxrc.default_language and babel

2012-08-06 Thread Kornel Benko
Am Montag, 6. August 2012 um 12:50:41, schrieb Jürgen Spitzmüller > In LaTeXFeatures::useBabel() we have a check that only loads babel if > bufferParams().language->lang() != lyxrc.default_language (and no > secondary language is used). This is wrong at least in how > lyxrc.default_language is us

Re: [patch] lyxrc.default_language and babel

2012-08-06 Thread Richard Heck
On 08/06/2012 06:50 AM, Jürgen Spitzmüller wrote: In LaTeXFeatures::useBabel() we have a check that only loads babel if bufferParams().language->lang() != lyxrc.default_language (and no secondary language is used). This is wrong at least in how lyxrc.default_language is used nowadays. Babel shoul

[patch] lyxrc.default_language and babel

2012-08-06 Thread Jürgen Spitzmüller
In LaTeXFeatures::useBabel() we have a check that only loads babel if bufferParams().language->lang() != lyxrc.default_language (and no secondary language is used). This is wrong at least in how lyxrc.default_language is used nowadays. Babel should not be loaded if the document language is English