[XeTeX] sting manipulation macros

caapv 208 caapv208 at yahoo.co.jp
Sun Oct 19 22:43:40 CEST 2008

--- Michiel Kamermans <pomax at nihongoresources.com> wrote:

> 1) it uses numbered blocks, without me being able to
> say which 
> characters go in which blocks. I want to have
> control, not have to rely 
> on some internally numbered blocks with fixed
> content. a dedicated block 
> for CJK for instance is useless to me if I want to
> use different markup 
> for Korean (maybe a nice jamo font) and Japanese
> (perhaps some obscure 
> sousho font).

I don't understand. Why don't you give different character
classes for Hangul, Kana and Kanji (Hanja)?

> 2) more importantly, the built-in XeTeX charclass
> system relies on a 
> state-change matrix for saying what happens on
> from-A-to-B state 
> changes. This is incredibly silly: I don't want to
> have to specify the 
> mad combinatorial list of all possibly changes from
> each of the 
> individual unicode blocks, to every other one. That
> would be madness. I 
> want to be able to say what should happen when a
> particular block 
> starts, or when a particular block ends, and MAYBE -
> if I *really* need 
> it - manually add specific rules for when a
> particular block A is 
> followed by a particular block B.

You don't seen to know the fine controls of
spaces Japanese typesetting requires,  See, e.g. JIS X
Anyway, you can use convenience macros defined in

> - Mike


Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!

More information about the XeTeX mailing list