Re: What is the secret to using Lyx with Hebrew?
That is not currently possible due to the latex requirement that it know the current language of the block of code and not just the current character. If you use xetex, still a bit of a pain under lyx though, it will put the text in the right order inside words, but the words and alignment are are in the wrong direction. I see, thanks. Makes sense. Lyx was moved to work with unicode internally so it may be possible to do it implicitly in the future (change paragraph / text segment orientation automatically). If I recall correctly though the reason lyx currently has it's own keyboard switching short cut is due to two main reasons: 1. It is not possible to know on all platform what the current keyboard is, just what the character is which made it a bit difficult to choose the language 2. latex doesn't work with general hebrew encodings so lyx needs to control the input incoding (with widespread unicode support that is probably changing though) Is there movement to improve the situation? Can Lyx be configured to recognize that all [א-ת] are Hebrew language and all [a-zA-Z] are English? Soft characters might be a problem, though. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What is the secret to using Lyx with Hebrew?
2009/3/4 Maxim Kovgan maxim@gmail.com: I used lyx by implementing the instructions from huji site about lyx. what I got to was: when I pressed F12 (IIRC), it *switched* language, both he-en and en-he, depending on the current state. I don't remember having to worry about anything else. I don't understand exactly what do YOU wish to achieve ? I would like to be able to switch languages in Lyx just like I do in any other application, that is, with the windows manager's shortcuts. In my current setup Lyx displays Hebrew as LTR when I switch languages. I must go back, highlight the Hebrew text, and select Hebrew from the languages list. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What is the secret to using Lyx with Hebrew?
On Wed, Mar 04, 2009 at 07:23:33PM +0200, Dotan Cohen wrote: 2009/3/4 Maxim Kovgan maxim@gmail.com: I used lyx by implementing the instructions from huji site about lyx. what I got to was: when I pressed F12 (IIRC), it *switched* language, both he-en and en-he, depending on the current state. I don't remember having to worry about anything else. I don't understand exactly what do YOU wish to achieve ? I would like to be able to switch languages in Lyx just like I do in any other application, that is, with the windows manager's shortcuts. In my current setup Lyx displays Hebrew as LTR when I switch languages. I must go back, highlight the Hebrew text, and select Hebrew from the languages list. The main issue here is that LaTeX's language support is inherently explicit: for each part of the text you mark of which language it belongs. LyX follows suit here: Hebrew text is not the same as English text. Fixing this would probably require some major changes in LyX. In some earlier versions of LyX the keyboard language and the document language were basically the same (and LyX comes with its own independent Hebrew layout. I'll leave it for you to guess the exact layout :-) . In later versions this was gone. And toggling languages became a pain. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What is the secret to using Lyx with Hebrew?
On Wed, 4 Mar 2009 19:23:33 +0200 Dotan Cohen dotanco...@gmail.com wrote: 2009/3/4 Maxim Kovgan maxim@gmail.com: I used lyx by implementing the instructions from huji site about lyx. what I got to was: when I pressed F12 (IIRC), it *switched* language, both he-en and en-he, depending on the current state. I don't remember having to worry about anything else. I don't understand exactly what do YOU wish to achieve ? I would like to be able to switch languages in Lyx just like I do in any other application, that is, with the windows manager's shortcuts. In my current setup Lyx displays Hebrew as LTR when I switch languages. I must go back, highlight the Hebrew text, and select Hebrew from the languages list. That is not currently possible due to the latex requirement that it know the current language of the block of code and not just the current character. If you use xetex, still a bit of a pain under lyx though, it will put the text in the right order inside words, but the words and alignment are are in the wrong direction. Lyx was moved to work with unicode internally so it may be possible to do it implicitly in the future (change paragraph / text segment orientation automatically). If I recall correctly though the reason lyx currently has it's own keyboard switching short cut is due to two main reasons: 1. It is not possible to know on all platform what the current keyboard is, just what the character is which made it a bit difficult to choose the language 2. latex doesn't work with general hebrew encodings so lyx needs to control the input incoding (with widespread unicode support that is probably changing though) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What is the secret to using Lyx with Hebrew?
I used lyx by implementing the instructions from huji site about lyx. what I got to was: when I pressed F12 (IIRC), it *switched* language, both he-en and en-he, depending on the current state. I don't remember having to worry about anything else. I don't understand exactly what do YOU wish to achieve ? M. On Fri, Feb 20, 2009 at 5:06 PM, Dotan Cohen dotanco...@gmail.com wrote: I have tried several configuration of Lyx 1.6 settings, and I can create mixed Hebrew / English documents just fine. However, I must select which language each text span is, so that it's directionality will not be backwards. (English as hslignE for instance). What is the secret to getting Lyx to do this by itself? Yes, I have STFW and gone through all TFA but I do not see this particular issue raised. I asked on the lyx list but nobody there knows. However, wikipedia and other places claim terrific RTL support for Lyx, so I assume that this is a misconfiguration error on my part. שבת שלום -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
What is the secret to using Lyx with Hebrew?
I have tried several configuration of Lyx 1.6 settings, and I can create mixed Hebrew / English documents just fine. However, I must select which language each text span is, so that it's directionality will not be backwards. (English as hslignE for instance). What is the secret to getting Lyx to do this by itself? Yes, I have STFW and gone through all TFA but I do not see this particular issue raised. I asked on the lyx list but nobody there knows. However, wikipedia and other places claim terrific RTL support for Lyx, so I assume that this is a misconfiguration error on my part. שבת שלום -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il