logo       

Re: XeTeX 1.0 - request for comments: msg#00092

tex.xetex

Subject: Re: XeTeX 1.0 - request for comments

Oh, thank you!
I have updated my documentation and read XeTeX-notes and CJKsample. It works very well.

I hope I haven't missed this too, but I can't see an option to typeset chinese in the traditional vertical, right to left way. Is this possible too?


Pavel Stranak


On 16.10.2005, at 10:50, Jonathan Kew wrote:


On 16 Oct 2005, at 8:55 am, Pavel Stra?ák wrote:

Hello Jonathan,

I might have missed something, but I believe there still is a problem with CJK line wrapping. Your hack from February 23 works, but you can't expect regular LaTeX users to figure this out. I can't even understand how it works.

Ah, I think you did miss something - version 0.91 added a new feature to enable line-breaking based on Unicode character properties, tailored for a given locale (as there's no "universal" set of rules).

You can enable this by adding a couple of declarations at the start of a document, e.g.:

\XeTeXlinebreaklocale "zh" % allow inter-character linebreaks according to Chinese locale
\XeTeXlinebreakskip = 0pt plus 1pt % allow some stretch at such places, for justification

This is not turned on by default, as it will affect TeX's behavior (in minor and usually benign ways, it's true, but it would appear buggy to an unsuspecting TeX user).

JK

_______________________________________________
XeTeX mailing list
postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx
http://tug.org/mailman/listinfo/xetex


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise