>>>>> "Sanda" == Sanda Pavel <[EMAIL PROTECTED]> writes:

Sanda> aha :) i didnt miss it, but it didnt worked the way i would
Sanda> expect: namely if you open a new document, choose Part envi and
Sanda> THEN you change document lang to czech, it remains "Part". but
Sanda> if you open new doc, change lang to czech and THEN choose part
Sanda> envi, then it is correct czech. in other words, once loaded lyx
Sanda> doesnt change these strings.

Does the following patch fix this?

Index: src/buffer.C
===================================================================
--- src/buffer.C	(revision 14615)
+++ src/buffer.C	(working copy)
@@ -1366,6 +1366,8 @@ void Buffer::updateDocLang(Language cons
 	BOOST_ASSERT(nlang);
 
 	pimpl_->messages.reset(new Messages(nlang->code()));
+
+	updateCounters(*this);
 }
 
 


Sanda> 1) when lyx is firstly launched (ie before creating .lyx in
Sanda> home, the font which is set up in the preference for screen
Sanda> font is not in fact loaded. this wont be trouble if it has
Sanda> correct symbols for czech accents, but it has not. When goin to
Sanda> preferences screen font, it is set to "Andale Mono". i have to
Sanda> switch to some other font and than back to Andale to be
Sanda> actually loaded.
>>  This is an old known problem, but nobody seems to know what
>> happens :(

Sanda> what i had experimented is that its dependent, whether there is
Sanda> ~/.lyx/preferences file. in case there is no such file,
Sanda> synchronicity between actual font and preferences dialog is
Sanda> corrupted.

Does it depend on whether there are font entries in the preference
file? I think by default LyX uses font names like Roman, Sans and
Mono. 

JMarc

Reply via email to