Using XeLaTeX with polyglossia, I’m typesetting a document that includes Chinese pinyin: not the whole text, but still a fair bit, so I want to avoid manually providing rules for hyphenation.
Unfortunately, polyglossia doesn’t seem to offer Chinese pinyin support.
Is there a package that provides pinyin hyphenation (maybe triggered by a command like \pinyin{text in pinyin}
)?
The documentation of the xeCJK
package (which I use) doesn’t say anything about pinyin, and the xpinyin
package seems to do something different altogether.