[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 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
bidi override fo samples
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.