Hi, is there a way to force the onscreen rendering for the text contained in a given character or paragraphy style to be right-to-left? Ideally some kind of command within the InsetLayout or Style groups in the layout options?
Background: I use XeTeX to typeset a document in several scripts, including Arabic. The Arabic-script sections are not in the Arabic language, but in a variety of other languages. Because my document is left-to-right, they get displayed on screen in LTR order, which is wrong. I can get them to display in RTL by setting their language to Arabic (ArabTeX or Arabi). In both cases, LyX displays them right-to-left, but these options are both ncompatible with XeTeX because they make other assumptions on how to render the text in the final output. Ideally, I wouldn't have to mark them as in a different language at all - there are no benefits other than the writing direction. I use logical markup and custom styles anyway for these passages, so I'd just like to mark all instances of a given style to display RTL in LyX. Is that possible, or is there some workaround? Philipp