I wish it is that simple, but alas, I need to
to inform \typefile of the font as well,
possibly via setuptyping ?
The following works with texlive 2017 (pdflatex), meaning I have the fonts
installed.
I also ran
$ mtxrun --script font --reload
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[english]{babel}
\begin{document}
\begin{CJK}{UTF8}{mj}
이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.
\end{CJK}
\end{document}
On Tue, Dec 5, 2017 at 9:43 PM, luigi scarso
On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer
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
Assuming a font with the glyphs needed, this should work: \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 ____________________________________________________________ _______________________