Re: [xsl] Bi-Di Algorithm Control

Subject: Re: [xsl] Bi-Di Algorithm Control
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Tue, 22 Oct 2002 12:13:09 -0500
W. Eliot Kimber wrote:

Here is a typical example:
<fo:block-container writing-mode="rl-tb">
<fo:block >Arabic English1 English2<fo:leader leader-length="1em">123</fo:block>
</fo:block-container>

Discovered two additional things:


1. Wrapping bidi-override around the whole index entry text solves the problem (this was Antenna House's response but I had misinterpreted the sample doc they sent and missed this solution at first.

2. It matters to AH whether or not the page number is literal text in the FO instance or a page-number-citation.

Here is an instance that produces the correct result using XSL Formatter:

<fo:block>
  <fo:bidi-override unicode-bidi="embed" direction="rtl"
  >عندما English1 1a English2</fo:bidi-override>
  <fo:leader leader-length="1em" leader-pattern="space"
  /><fo:page-number-citation ref-id="bcdfr234566"/>
</fo:block>

I'm still interested to know if there's a control character that changes the writing direction.

Cheers,

Eliot
--
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


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



Current Thread