Peter Flynn
2007-11-03 22:08:25 UTC
I need to give a word in Japanese in an otherwise English-language
document:
\documentclass{article}
\usepackage[encapsulated]{CJK}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\newcommand{\cjktext}[1]{\begin{CJK}{UTF8}{cyberbit}#1\end{CJK}}
\begin{document}
Japanese \cjktext{類似した}
\end{document}
but this asks for the cyberbit or song fonts (see log output below),
which I don't have.
This is in Ubuntu Gutsy with TeX Live installed from the .debs, so I have
installed all the latex-cjk-* packages as well. There appears to be a set
of fonts called wadalab installed: how can I tell CJK.sty to use this
instead of cyberbit (if that's possible)
///Peter
-------------------------------------------------------------------------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, croatian, bulgarian, russian, ukrainian, czech, slovak,
danish, dut
ch, finnish, finnish, french, basque, french, german, ngerman, german,
ngerman,
greek, monogreek, ancientgreek, ibycus, hungarian, hungarian, italian,
italian
, latin, latin, mongolian, mongolian, norsk, norsk, coptic, esperanto,
estonian
, icelandic, indonesian, interlingua, romanian, serbian, slovenian,
turkish, up
persorbian, welsh, polish, polish, portuguese, portuguese, spanish,
catalan, ga
lician, spanish, catalan, galician, swedish, swedish, ukenglish,
ukenglish, pin
yin, loaded.
(./test.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc))
(/usr/share/texmf-texlive/tex/latex/ucs/ucs.sty
(/usr/share/texmf-texlive/tex/latex/ucs/data/uni-global.def))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/ucs/utf8x.def)) (./test.aux)
(/usr/share/texmf-texlive/tex/latex/ucs/ucsencs.def)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr)
LaTeX Font Warning: Font shape `C70/cyberbit/m/n' undefined
(Font) using `C70/song/m/n' instead on input line 7.
! Undefined control sequence.
***@size@range ***@rangefontinfo ***@info
<-*>@nil <@nnil
l.7 Japanese \cjktext{é¡Ä¼¼ãã}
document:
\documentclass{article}
\usepackage[encapsulated]{CJK}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\newcommand{\cjktext}[1]{\begin{CJK}{UTF8}{cyberbit}#1\end{CJK}}
\begin{document}
Japanese \cjktext{類似した}
\end{document}
but this asks for the cyberbit or song fonts (see log output below),
which I don't have.
This is in Ubuntu Gutsy with TeX Live installed from the .debs, so I have
installed all the latex-cjk-* packages as well. There appears to be a set
of fonts called wadalab installed: how can I tell CJK.sty to use this
instead of cyberbit (if that's possible)
///Peter
-------------------------------------------------------------------------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, croatian, bulgarian, russian, ukrainian, czech, slovak,
danish, dut
ch, finnish, finnish, french, basque, french, german, ngerman, german,
ngerman,
greek, monogreek, ancientgreek, ibycus, hungarian, hungarian, italian,
italian
, latin, latin, mongolian, mongolian, norsk, norsk, coptic, esperanto,
estonian
, icelandic, indonesian, interlingua, romanian, serbian, slovenian,
turkish, up
persorbian, welsh, polish, polish, portuguese, portuguese, spanish,
catalan, ga
lician, spanish, catalan, galician, swedish, swedish, ukenglish,
ukenglish, pin
yin, loaded.
(./test.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc))
(/usr/share/texmf-texlive/tex/latex/ucs/ucs.sty
(/usr/share/texmf-texlive/tex/latex/ucs/data/uni-global.def))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/ucs/utf8x.def)) (./test.aux)
(/usr/share/texmf-texlive/tex/latex/ucs/ucsencs.def)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc)
(/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr)
LaTeX Font Warning: Font shape `C70/cyberbit/m/n' undefined
(Font) using `C70/song/m/n' instead on input line 7.
! Undefined control sequence.
***@size@range ***@rangefontinfo ***@info
<-*>@nil <@nnil
l.7 Japanese \cjktext{é¡Ä¼¼ãã}