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

Li Yanrui (李延瑞) liyanrui.m2 at gmail.com
Mon Apr 18 11:50:58 CEST 2011


2011/4/8 Li Yanrui (李延瑞) <liyanrui.m2 at gmail.com>:
> 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.
>

The problem is still in the beta 2011.04.13.

-- 
Best regards,

Li Yanrui (李延瑞)


More information about the ntg-context mailing list