Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.
Le 04/08/2016 à 23:26, Richard Heck a écrit : On 08/04/2016 05:09 PM, Jean-Marc Lasgouttes wrote: Le 31/07/2016 à 08:53, Richard Heck a écrit : commit 07dcb1c525435c6f22de4314ba31150c53502429 Author: Richard HeckDate: Sun Jul 31 02:52:30 2016 -0400 Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably. Actually, we force the text direction according to language. Font::isVisibleRightToLeft gives this information. "Hebrew" typeset in Hebrew will yield werbeH. Does this mean it probably does work? As I understand it, in xhtml you code will write Hebrew (as most systems do). Lyx is peculiar in the sense that it forces direction depending on language, not string contents. JMarc
Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.
On 08/04/2016 05:09 PM, Jean-Marc Lasgouttes wrote: > Le 31/07/2016 à 08:53, Richard Heck a écrit : >> commit 07dcb1c525435c6f22de4314ba31150c53502429 >> Author: Richard Heck>> Date: Sun Jul 31 02:52:30 2016 -0400 >> >> Add 'dir="auto"' to the body tag for XHTML export. This should take >> care of much of what we need to do for RTL languages. It does not >> take care of inline language changes, probably. > > Actually, we force the text direction according to language. > Font::isVisibleRightToLeft gives this information. "Hebrew" typeset in > Hebrew will yield werbeH. Does this mean it probably does work? rh
Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.
Le 31/07/2016 à 08:53, Richard Heck a écrit : commit 07dcb1c525435c6f22de4314ba31150c53502429 Author: Richard HeckDate: Sun Jul 31 02:52:30 2016 -0400 Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably. Actually, we force the text direction according to language. Font::isVisibleRightToLeft gives this information. "Hebrew" typeset in Hebrew will yield werbeH. JMarc