Nicolas Mailhot wrote:
Le mardi 25 octobre 2005 à 19:18 +0200, cono a écrit :
Hi Anton,
Anton I. Danilov wrote:
[...]
As for the single language text is concerned, spellchecking goes ok. If
text's language is Russian, you can select Format -> Character ->
Language (Russian) and spellchecker will do its job for Russian
language. The same situation for a plain English text.
But when the text is mixed, with parts in English and parts in any other
language, OpenOffice does not switch the charater language properties
according to the switching input locale.
[...]
Have you tried defining different styles for the various languesges?
Thus you assign a Russian or an X-language style to the
words/paragraphs.
That's what OO.o wants you to do and it's WRONG.
You can take a sentence in any language and make it red bold big small,
promote it to title status etc. That what's styling is about. Style is
something you can apply regardless of what the content actually is.
OTOH you'll never make a french sentence correct russian just by
changing its style. Language is an intrinsic quality of what has been
typed, it can not be "styled".
The awful kludge OO.o uses (making language a style attribute) only
works with documents that have light language mixes and high structural
requests. It's totally unadapted to the vast majority of multilingual
documents, where language can change in the middle of sentences and you
want presentation to be the same regardless of what language is used
(that's why professional multilingual documents do not look like
collages of different presentation styles).
What on Earth ever gave you the impression that a style /must/ include
presentation? A language-changing style need not include anything but
the changed language. (Though in English, at least, it is conventional
to present non-English words from languages that use the Roman alphabet
in italic type, or vice-versa, if the containing English passage is
already italicized.)
--
John W. Kennedy
"The pathetic hope that the White House will turn a Caligula into a
Marcus Aurelius is as naïve as the fear that ultimate power inevitably
corrupts."
-- James D. Barber (1930-2004)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]