[NTG-context] no line break in CJK text in footnotes

Li Yanrui (李延瑞) liyanrui.m2 at gmail.com
Fri Apr 8 02:18:52 CEST 2011


Hi Hans,

At least for the beta 2011.04.03, the line break can not work for cjk
text in footnotes. See the following example:

\definefontsynonym[Serif][name:adobesongstd]
\definetypeface[myfonts][rm][serif][myfonts][default]
\setscript[hanzi]
\setupbodyfont[myfonts,rm,11pt]

\starttext
\startbuffer[test-footnote]
所有动物都生而平等,但有些动物比其他动物更平等。所有动物都生而平等,
但有些动物比其他动物更平等。所有动物都生而平等,但有些动物比其他动物更平等。
\stopbuffer
\getbuffer[test-footnote]
\blank
测试\footnote{\getbuffer[test-footnote]}
\stoptext

Just I added \setupfootnotes[style={\setscript[hanzi]}], the line
break can work.

-- 
Best regards,

Li Yanrui


More information about the ntg-context mailing list