I'm writing a document which is 99% English but needs a few words of other languages, including Thai, Japanese, and Chinese. I've had success with the latter two, but I'm stuck on Thai. Here's a MNWE:
\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
Japanese: \begin{CJK}{UTF8}{min}結核\end{CJK}
Chinese: \begin{CJK}{UTF8}{bsmi}結核\end{CJK}
Thai: \begin{CJK}{UTF8}{gar}ไข้เด็งกี\end{CJK} % <-- fail
\end{document}
Compiling this fails with:
LaTeX Font Warning: Font shape `C70/gar/m/n' undefined
(Font) using `C70/song/m/n' instead on input line 9.
(/usr/local/texlive/2013/texmf-dist/tex/latex/cjk/texinput/UTF8/c70song.fd)
./b0rken.tex:9: Undefined control sequence.
try@size@range ...extract@rangefontinfo font@info
<-*>@nil <@nnil
l.9 Thai: \begin{CJK}{UTF8}{gar}ไข
้เด็งกี\end{CJK} % <-- ...
Commenting out the "fail" line leads to successful compile with Japanese and Chinese characters where they should be in the output.
This is using MacTeX 2013. I do have the cjk and fonts-tlwg packages installed. I also have several c90* files present, including c90gar.fd
and c90nrsr.fd.
I do need to stay with normal pdfTeX rather than XeTeX.
C70encoding (Unicode) preinstalled for Thai in TeX Live. Fonts inC90encoding cannot be used like that. – Leo Liu Nov 16 '13 at 00:21C70fonts I can install? – Reid Nov 16 '13 at 04:07C90(font) encoding installed in TeX Live. – Leo Liu Nov 16 '13 at 05:24