ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* no line break in CJK text in footnotes
@ 2011-04-08  0:18 Li Yanrui (李延瑞)
  2011-04-18  9:50 ` Li Yanrui (李延瑞)
  0 siblings, 1 reply; 2+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-04-08  0:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: no line break in CJK text in footnotes
  2011-04-08  0:18 no line break in CJK text in footnotes Li Yanrui (李延瑞)
@ 2011-04-18  9:50 ` Li Yanrui (李延瑞)
  0 siblings, 0 replies; 2+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-04-18  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/4/8 Li Yanrui (李延瑞) <liyanrui.m2@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 (李延瑞)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-18  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-08  0:18 no line break in CJK text in footnotes Li Yanrui (李延瑞)
2011-04-18  9:50 ` Li Yanrui (李延瑞)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).