Re: [xsl] Bi-Di Algorithm Control

Subject: Re: [xsl] Bi-Di Algorithm Control
From: Tony Graham <Tony.Graham@xxxxxxx>
Date: Tue, 22 Oct 2002 22:42:15 +0100
W. Eliot Kimber wrote at 22 Oct 2002 12:13:09 -0500:
 > Here is an instance that produces the correct result using XSL Formatter:
 > 
 > <fo:block>
 >    <fo:bidi-override unicode-bidi="embed" direction="rtl"
 >    >惺Ù,FX塤,TX§ English1 1a English2</fo:bidi-override>
 >    <fo:leader leader-length="1em" leader-pattern="space"
 >    /><fo:page-number-citation ref-id="bcdfr234566"/>
 > </fo:block>

This should also work:

   <fo:block>
      惺Ù,FX塤,TX§ English1 1a English2
      <fo:bidi-override unicode-bidi="embed" direction="rtl"
      ><fo:leader leader-length="1em" leader-pattern="space"
      /><fo:page-number-citation ref-id="bcdfr234566"/></fo:bidi-override>
   </fo:block>

assuming that XSL Formatter handles <fo:page-number-citation/>
correctly for the text direction.

As should this:

   <fo:block>
      惺Ù,FX塤,TX§ English1 1a English2
      &#x200F;
      <fo:leader leader-length="1em" leader-pattern="space"
      /><fo:page-number-citation ref-id="bcdfr234566"/>
   </fo:block>

even though it's what I recommend against using.

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin                mailto:tony.graham@xxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread