5 Dec
2017
5 Dec
'17
8:43 p.m.
On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer
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
Assuming a font with the glyphs needed, this should work: \starttext \typefile{cjk.asy} \stoptext -- luigi