Altova Mailing List Archives


Re: [xsl] Bi-Di Algorithm Control

From: "W. Eliot Kimber" <eliot@---------->
To:
Date: 10/22/2002 9:09:00 AM
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"
  >&#x639;&#x646;&#x62F;&#x645;&#x627; 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

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.