Enrico Forestieri wrote:
As I explained in another thread, this can be indeed used for supporting other languages. You simply have to devise a \text<your_lang_here> latex macro which is able to typeset multiple characters in the given language. Not sure about RTL languages, as I have no experience with those.
For single characters, it should work the same. So if can be supported, why not. For words (and multiple words) it's a bit more complicated as the bidi algorithm depends on the character language. But it would be nice to detect those characters and apply your method even without setting the language.
I must say that I find your method for dealing with this very elegant ;-) Abdel.