[XeTeX] xetex and the unicode bidirectional algorithm.

Zdenek Wagner zdenek.wagner at gmail.com
Wed Dec 4 23:53:01 CET 2013


2013/12/4 C. Scott Ananian <cscott at cscott.net>:
> The goal is to match the Unicode bidi algorithm, because that is how the web
> page displays and thus how the original author saw the text as they wrote.
> Guessing the proper language tag to use is likely infeasible; note that the
> example given contains titles in Turkish as well as English.  The safest
> option is probably to treat embedded LTR text in an RTL context as 'exotic'
> and not to attempt hyphenation.
>
> I've heard it said that LuaTeX has "better bidi support".  What does that
> mean, exactly? Should I be considering switching?
>   --scott
>
LuaTeX offers various features for the arabic script but support of
indic scripts is missing. If you wish to typeset the texts from Hindi
Wikipedia, LuaTeX cannot be used.

> On Dec 4, 2013 4:08 AM, "Keith J. Schultz" <schultzk at uni-trier.de> wrote:
>>
>> Hi Scott,
>>
>> Am 03.12.2013 um 19:42 schrieb C. Scott Ananian <cscott at cscott.net>:
>>
>> >
>> > But in the XeLaTeX/polyglossia/bidi output, the "soft space" weak
>> > directionality of the Unicode BiDi algorithm doesn't seem to be
>> > honored (or implemented?) and so the English article titles appear
>> > with the individual words in RTL order, which is a mess.  Manually
>> > tagging the language of the article title is probably the Right thing,
>> > but infeasible for the entire wikipedia.
>>         Well, without proper tagging you can not expect any system to
>>         work properly or as expected!
>>         For most entries a simple script should do the trick to add the
>>         language tags to the article titles.
>>
>> Hope this helps
>>         regards
>>                 Keith.
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>   http://tug.org/mailman/listinfo/xetex
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list