[Cjk] Problems again :-/

Werner LEMBERG wl at gnu.org
Mon Aug 19 06:17:45 CEST 2002


> Most of the example files on the CD still CJK 4.4.0.  It took me a while
> to discover that.  -_-;;
> That's why GB, Big5 and Big5vert wouldn't work...

Well, the time frame was very tight for the TeXLive CD release.  I
will send something better to Sebastian Rahtz, the TL-CD maintainer.

> When I do "latex JIS.tex", I get the error 
>   ! Parameters must be numbered consecutively.
>   <to be read again> 
>                      ##
>   l.103   \CJK at namegdef{^^f5}##
>                                1{\relax\CJK at errxx}

This bug is fixed in CJK 4.5.1.

> and quite a lot of similar errors (I just let latex scroll, to see
> what it gives).  My JIS.dvi gets compiled, and it showed no problems
> when viewning.  No strange black boxes or anything.  I can even see
> the furigana (ruby text) in hiragana!  Yay!  So what is this problem
> about consecutive numbering?

A closing brace was misplaced in JISdnp.enc, causing all character
definitions greater or equal to 0xf5 to be executed directly.

> Another problem: SJIS.tex can't find the font "sokana".  I can't
> find it either on my computer.  Where to find it and how to install
> it correctly?  Or maybe replace it with another font?

I don't have it either.  You won't need this font except for verbatim
listings of SJIS output with half-width katakana -- normally,
half-width katakana are typographically useless.

> And last but not least: how to install the Cyberbit TTF?  I
> downloaded it, copied it to $TEXMF/fonts/truetype/public/cyberb/,
> did "ttf2afm Cyberbit.ttf > cyberb.afm" and put it in
> $TEXMF/fonts/afm/public/cyberb/.  Then I did "ttf2tfm Cyberbit.ttf >
> cyberb.tfm", but that's not exactly what I want because I need
> cyberb00.tfm,..., cyberb[xx].tfm.

I don't know how to handle ttf2afm, but with ttf2tfm you should do
this

  ttf2tfm cyberbit.ttf cyberb at Unicode.sfd@ > cyberbit.log

to use the Unicode.sfd subfont definition file.  A proper entry for
ttfonts.map is then

  cyberb at Unicode@  cyberbit.ttf


    Werner



More information about the Cjk mailing list