Re: About CJK-LaTeX ?
On Wed, 25 Apr 2001, Yongtao Yang wrote:
> I am trying to install CJK-Latex(cjk-latex-4.2.0-16.i386.rpm), while the
^^^^^^^^^^^^^^^^^^^^^^^^^^^
You are asking about an RPM package on a Debian mailing list?? :-)
(Debian's latest cjk-latex is at 4.2.0-2.) Anyhow, out of curiosity,
could you please tell us what system you are installing this
cjk-latex*.rpm package on? Red Hat? CLE? Mandrake? SuSE?
> installation seems OK, I can only
> generate *.dvi file from the example tex file ( for example GB.tex), but
> when use xdvi, it reports the 'jfs56.hbf'
> not found, but I can see that such exists, so could anybody tell me
> where CJK-LaTeX try to locate *.hbf files?
> My 'jfs56.hbf' is in path texmf/fonts/hbf/gb2312/jfs56/ .
I didn't make the 4.2.0-16 RPM, but for Debian's cjk-latex,
the file jfs56.hbf is in a separate package called
"hbf-jfs56_1.0-2_all.deb", in which jfs56.hbf is in:
/usr/share/fonts/hbf/jfs56/jfs56.hbf
and
/usr/share/texmf/fonts/hbf/gb2312/jfs56/jfs56.hbf
(just a symlink to /usr/share/fonts/hbf/jfs56/jfs56.hbf)
And, in order for teTeX to find the file, /usr/share/texmf/fonts/hbf
must be in its search path. Again, I don't know which version of
teTeX is on your system, but if it is new enough, there should be a line
like this in your /etc/texmf/texmf.cnf:
% PostScript Type 1 outline fonts.
T1FONTS = .;$TEXMF/fonts/type1//;$TEXMF/fonts/hbf//
Okay, HBF isn't really a PS Type1 font, but it seems to be the default
setting for teTeX 1.x. To verify whether teTeX (or libkpathsea) can
find jfs56.hbf, run:
kpsewhich jfs56.hbf
If it shows /usr/share/texmf/fonts/hbf/gb2312/jfs56/jfs56.hbf,
then it works. If not, fix your /etc/texmf/texmf.cnf and run
/usr/bin/mktexlsr . Hope this helps.
Anthony
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
Reply to: