Assuming a font with the glyphs needed, this should work:On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer <wneimeijer@gmail.com> wrote:
> I am writing a manual where I include code snippets with typefile. Some of
> the code snippets contain text in Japanese
> but don't appear in the PDF document as typefile seems to skip the Japanese
> characters
>
> MWE
>
> file cjk.asy
> ========
> Label L;
> L = Label("\\begin{CJK}{UTF8}{gbsn}{\\CJKfamily{gbsn}여보세요 \\end{CJK}");
> label(L);
> shipout();
>
> main file
> =======
> \starttext
> \typefile[C][]{cjk.asy}
> \stoptext
\starttext
\typefile{cjk.asy}
\stoptext
--
luigi
____________________________________________________________ _______________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
____________________________________________________________ _______________________