osdir.com
mailing list archive

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

List: tex.xetex

Date: Prev Next Index Thread: Prev Next Index
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


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: XeTeX 1.0 - request for comments

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

Next Message by Date: click to view message preview

Re: XeTeX 1.0 - request for comments

On 16 Oct 2005, at 10:41 am, Pavel StraÅÃk wrote: 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? Sorry, there's no support for this at present. It would be a great feature to add, but would require some careful planning and design -- it's not a minor adjustment that I can slip in somewhere. Maybe in version 2.0, if we ever get that far? Meanwhile, there's Omega.... :) JK

Previous Message by Thread: click to view message preview

Re: XeTeX 1.0 - request for comments

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

Next Message by Thread: click to view message preview

Re: XeTeX 1.0 - request for comments

On 16 Oct 2005, at 10:41 am, Pavel StraÅÃk wrote: 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? Sorry, there's no support for this at present. It would be a great feature to add, but would require some careful planning and design -- it's not a minor adjustment that I can slip in somewhere. Maybe in version 2.0, if we ever get that far? Meanwhile, there's Omega.... :) JK
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by