[NTG-context] Chinese hyphenation / line splitting
John Devereux
john at devereux.me.uk
Mon Apr 16 10:52:12 CEST 2012
Hi All,
We are having a go at typesetting one of our manuals in Chinese
(gulp). Is there some trick to getting hyphenation working? (Or perhaps
"line-splitting" is a better term, I don't even know if hyphens are used
in Chinese).
What I see in the PDF are unbroken lines running off the edge of the
page. If I manually insert spaces, then the lines do break but seem to
go slightly past the right-hand edge of the paper (so parts of the
characters are lost).
Sample text is from what I think is the Chinese section of Wikipedia,
hopefully is not offensive...
======================================================================
\usemodule[simplefonts]
\setmainfont[Adobe Heiti Std]
%\setmainfont[Arial Unicode MS]
\starttext
\mainlanguage[zh]
阿梅莉亚·埃尔哈特(1897年-1937年)是一位著名的美國女性飛行員和女权运动者。埃爾哈特是第一位获得飞行优异十字勋章、第一位独自飞越大西洋的女飞行员。她还创了许多其他纪录,将自身的飞行经历編寫成非常畅销的書籍,並協助建立了一个女飞行员组织。1937年,當她嘗試全球首次環球飛行時,在飛越太平洋期間神秘失蹤。至今为止她的生活、生涯和消失一直使人神往。阿梅莉亚·埃尔哈特在她生前就已经是一名国际名人了。她腼腆感人的外貌、独立性、持久性、在压力下保持安静、勇气、有目标的生涯以及年轻时就失踪使得她在流行文化中成为一个持久的名人。关于她的生平出版过数百文章和许多书,这些书往往作为尤其是对女孩子的勉励的读物。
\stoptext
======================================================================
Thanks,
John
--
John Devereux
More information about the ntg-context
mailing list