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:

      惺,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>

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

As should this:

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

even though it's what I recommend against using.


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:

Current Thread