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

Re: Bi-Di Algorithm Control

Subject: Re: Bi-Di Algorithm Control
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Wed, 23 Oct 2002 01:50:40 +0400
algorithm control
Eliot,

> I'm generating index entries for Arabic documents (using XSL Formatter 
> 2.3) and I'm running into a problem with the how the bi-di algorithm is 
> being applied. I can solve the problem by adding a bidi-override element 
> to the output FO but that solution is not ideal because it would mean 
> adding markup to the input XML document, which I would like to avoid.

And what about wrapping fo:leader into an explicitly directed span? 
Something like this:

<fo:block-container writing-mode="rl-tb">
   <fo:block >Arabic English1 English2
     <fo:bidi-override unicode-bidi="bidi-override" direction="rtl">
        <fo:leader leader-length="1em"/>
     </fo:bidi-override>
    123
  </fo:block>
</fo:block-container>

It would mark the leader as an explicitly directed element and thus 
protect the number from implicit reordering. 

Regards,
Nikolai Grigoriev
RenderX



 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.