On Wed, Jan 4, 2017 at 9:26 PM, maxwell <[email protected]> wrote:
> On 2017-01-04 10:27, Hussein Shafie wrote: > >> On 01/04/2017 11:53 AM, Ashok Hariharan wrote: >> >>> I know, I have asked this before, but just in the hope that things may >>> be changing... >>> >>> Is there any plan to support LTR text for FO to DOCX in xsl-fo converter >>> in the near future ? Seems to be a requirement I keep running into.... >>> >>> We certainly understand this requirement. >> >> Ashok Hariharan wrote: >> >>> Sorry I meant RTL (as in Arabic .... ) :-) >>> >> >> I'm sorry but the answer is the same: we currently don't plan to >> support RTL languages in any of our products. >> > > This probably isn't the answer you're looking for, and I forget whether I > suggested it before. But: we have for years done typesetting of grammars > where the language being described is written in a right-to-left script > (usually Perso-Arabic, either Naskh or Nasta'liq, but also the Thaana > script). We use XXE to write the grammar (it supports the input and > display of R2L script just fine*), but typeset it using dblatex, which uses > LaTeX as a backend (we use XeLaTeX, which is Unicode-aware). Because our > grammars switch back and forth between Roman script and the R2L script, we > tag the R2L strings for their language. There may be a way to avoid that > extra tagging; certainly if the entire document was in Arabic or some other > R2L script, it would not be necessary. > > *There is actually a Java (not XXE's fault) bug with the display of > Thaana. We have a work-around, but that's probably irrelevant for you. > > Mike Maxwell > University of Maryland > Dear Mike -- Thanks, that is certainly useful information for me, i had not considered your approach. However, I have been trying to get an editable Arabic word document out of transformed XML ... Latex -> Word involves round-tripping via HTML ... I will give that a try. My workaround so far has been to generate a transposed FO in Arabic and produce that as Word (using xsl-fo converter), and then convert it to a RTL document in Word using the RTL button...which works reasonably well but has the additional complexity of requiring a separate chain of XSL-FO style-sheets just for Arabic (i am producing documents in different languages)... however this still has problems of rendering detached words. Thanks Ashok
-- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

