OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Persian, Arabic or Hebrew FO output, need to get writing-mode=rl-tb



Hi Kia,
It would help if you mentioned what XSL-FO processor you are using. If it is FOP, then you are out of luck, because FOP doesn't support writing-mode properties that enable you to publish Hebrew or Arabic. 
 
If you use RenderX's XEP or Antenna House's XSL Formatter, then you can publish Hebrew and Arabic, and it is easier than you think.  The Unicode ranges for those languages identify the glyphs as needing to be set right-to-left, so the formatter will do so automatically without having to set writing-mode or use bidi-override.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Sunday, November 05, 2006 3:48 AM
Subject: [docbook-apps] Persian, Arabic or Hebrew FO output, need to get writing-mode=rl-tb

Hi,
could you please tell me how can I get in my .FO output file, the attribute writing-mode="rl-tb"?
I need to have in my .FO file something like this:

<fo:block font-size="14pt"  font-family="Tahoma"  line-height="14pt" 
  space-after.optimum="12pt"   writing-mode="rl-tb" >
   &#x62a;&#x6cc;&#x645;&#x648;&#x631;&#x6cc;&#x627;&#x646;
</fo:block>

I send my XML file with dir="rtl" attribute to the XSLT
processor, and the dir="rtl" is just once defined in the root tag
<book dir="rtl">  or <article dir="rtl">.
Is this feature implemented?
Or should I add this part in my customizing layer?

How can I get
<fo:bidi-override> objects in my .FO output? Is bidi-override implemented?

Thanks,
Kia Teymourian



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]