Mailinglist Archive: opensuse-m17n (52 mails)

< Previous Next >
Re: [m17n] CJK-latex installation
  • From: Mike Fabian <mfabian@xxxxxxx>
  • Date: Mon, 19 Nov 2001 14:04:12 +0000 (UTC)
  • Message-id: <s3tofly3lh0.fsf@xxxxxxxxxxxxxxx>
ugroh@xxxxxxxxxxx (Ulrich Groh) writes:

> I have installed the cjk-rpm file including the Japanese font files. If I
> LaTeX all the test-files everything is ok.
>
> If I start xdvi on the produced dvi-files strange things happens:
>
> mktexpk starts up
> l ooking for the font (e.g. jsso1210)
> mktexmf jsso1210
> ! I can't find file 'jsso1210'
> .... a lot of more error messages becuase the font isn't found

These are bitmap fonts from the cjk-latex-hbf-kanji48 package.
They are *very* ugly.

I recommend to use either the Wadalab PostScript fonts or the Kochi
TrueType fonts instead. For the Wadalab fonts please install:

cjk-latex-wadalab-gothic-4.4.0_20010731-0.rpm
cjk-latex-wadalab-maru2-4.4.0_20010731-0.rpm
cjk-latex-wadalab-mincho2-4.4.0_20010731-0.rpm
cjk-latex-wadalab-maru-4.4.0_20010731-0.rpm
cjk-latex-wadalab-mincho-4.4.0_20010731-0.rpm

For the Kochi Fonts please install:

cjk-latex-tfm-kochi-mincho-4.4.0_20010731-0.rpm
cjk-latex-tfm-kochi-gothic-4.4.0_20010731-0.rpm
ttf-kochi-gothic-0.0.20011005-0.rpm
ttf-kochi-mincho-0.0.20010924-0.rpm

The Kochi Fonts even work perfectly with vertical printing (they
contain the needed GSUB information).

> I went over the doc-files and found the remark, taht one has to patch mktexpk
> with some script whisch I also found in the system.
>
> Q1: Is this really the right way?
>
> Q2: How to patch the file ?

You don't have to patch mktexpk, it already contains support for hbf
fonts.

If you want to use hbf-bitmap fonts like the 'jsso' fonts from
cjk-latex-hbf-kanji48-4.4.0_20010731-0.rpm you need to have the
correct entries for hbf fonts in '/etc/texmf/texmf.cnf'.

This has changed recently, CJK-LaTeX 4.4.0 (available from
ftp://ftp.suse.com/pub/people/mfabian) and CJK-LaTeX 4.2.0 (available
from ftp://ftp.suse.com/pub/suse/i386/7.3/) need different entries in
'/etc/texmf/texmf.cnf'.

For CJK-LaTeX 4.2.0, '/etc/texmf/texmf.cnf' should contain a line like

T1FONTS = .;$TEXMF/fonts/type1//;$TEXMF/fonts/hbf//

For CJK-LaTeX 4.4.0, '/etc/texmf/texmf.cnf' should contain a line like

MISCFONTS = .;$TEXMF/fonts/misc//;$TEXMF/fonts/hbf//

I guess you are using CJK-LaTeX 4.4.0 from my udate directory with the
tetex package from SuSE Linux 7.3, which still has the older entry in
'/etc/texmf/texmf.cnf' because SuSE Linux 7.3 contained CJK-LaTeX
4.2.0.

--
Mike Fabian <mfabian@xxxxxxx> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

< Previous Next >
This Thread
References