I got bored so I made a teckit mapping anyway. (The solution we
reached off-list was to just use the US Extended keyboard already
present on Mac OSX for native unicode entry since backwards
compatibility was not a concern.)

It'll do placement according to what I understand from reading wikipedia:
1. Start by placing tone marker on final vowel.
2. Move tone marker to non-final a, e, or o.
3. Tone 0/5 is indicated by placing a dot in front of the syllable
(possibly buggy)

Use it as you would any other teckit mapping. It takes input like:
ni3chi1fan4le3ma5
and outputs:
nǐchīfànlě·ma


Hope someone finds it useful. If not, at least it was an interesting exercise.

-Andy

Attachment: pinyin.map
Description: Binary data

Attachment: pinyin.tec
Description: Binary data


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to