Re: Bi-Di 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format