Before my patch is applied, I'm thinking of changing the file format for
Hebrew documents.
Currently, I use "\direction rtl" to switch to Hebrew and "\direction default"
to return to English (regardless of the language of the document).

However, it may be better to use a more general approach:
If the language of the document is not Hebrew:
 Use "\locallanguage hebrew" to switch to Hebrew
     "\locallanguage default" to return to the language of the document.

If the language of the document is Hebrew:
 Use "\locallanguage hebrew" to switch to English
     "\locallanguage default" to return to Hebrew

This approach allows future versions of LyX to have several languages in
a single document. Any comments on this?

Reply via email to