First of all, as shipped with 2.3 ar-shortcuts does not compile, because
it errors on:

Missing character: There is no ⇥ in font
Scheherazade/OT:script=latn;language=D

Missing character: There is no ⇤ in font
Scheherazade/OT:script=latn;language=D

File ended while scanning use of \shortcut.
<*> ArabicShortcuts.tex

*** (job aborted, no legal \end found)


###


There might be mishandling of language definitions in 2.2.2.
(If it is also in 2.3 I don't know. The version I have here segfaults
too often with Arabic to get this far.)

If you open the Arabic Shortcuts.lyx file and try to assign the language
English to Latin characters, you get to see the underline associated
with that change – and simple text changes to LTR.

This does not happen with insets for shortcuts though.

Default src-view gives you:

\shortcut{\begin{Arabic}%
Command-N\end{Arabic}%
}\end{english}%

and LyX-src-view:

\lang english
\begin_inset Info
type  "shortcut"
arg   "buffer-new"
\end_inset


Seems to me that having the language initially set to Arabic hard-codes
these insets to RTL.
But if I the change the document language to English the insets are
still RTL, unreversible, although the rest of the Arabic script seems
properly marked as such.
If you try setting such an inset to Arabic in the English shortcuts.lyx
the direction is also preserved.


greetings
Mike

Reply via email to