On 2009-03-09, Micha Feigin wrote:
> On Mon, 9 Mar 2009 07:53:12 +0000 (UTC)
> Guenter Milde <mi...@users.berlios.de> wrote:

>> On 2009-03-07, Micha Feigin wrote:

...
> it's a question of changing the writing language inside the paragraph
> or between paragraphs.

> There are two issues. For running the dictionary you need to know the
> language.

you need to know the language also for 

* hyphenation (not hebrew, but most other languages),
*  auto-inserted text (like "chapter", "table of contents",
  "figure", ...),
* for selecting the font encoding (e.g. LGR for Greek letters vs. T1
  for Latin letters).

> For hebrew and arabic it's another issue, you need to know
> the system language so that you know directionality. 

LyX saves a RTL flag for every configured language in LYXDIR/languages.

Now, it should compare this to the directionality of the "system
language" (where this refers to the currently used keyboard setting,
not the locale) and only switch direction if this is not already done
by the system (QT?).

> Under windows I know it's possible since for example word does it.
> Question is whether this is possible to know under linux (I guess so
> since there are panel applets that show the language). Which again
> comes down to the question whether there is a technical issue why to
> work this way or not.

Browsing the lyx wiki, I found one more tip:

It is possible to switch the directionality of the text in the LyX editor
window by (de)activating the option "right-to-left language support" in
the Tools>Preferences>Language menu.

If this does not help, try to describe concise and precisely what you
do, what you expect and what you get and file this as a bug report on
bugzilla.

G√ľnter

Reply via email to