Hi!

From: Frederik Eaton <[EMAIL PROTECTED]>

> I have tried installing latex-cjk-japanese-wadalab (I didn't know it
> had to be installed) and removing everything but the Japanese from
> CJKutf8.tex, and now a dvi is produced which has Japanese text in it.
> 
> The same for the JIS.tex from the latex-cjk-japanese package.

Ah, great to hear that.

Which package installer did you use?
Because latex-cjk-japanese-wadalab is recommended by
latex-cjk-japanese.  And if you used "aptitude", it would normally
select the font package as well.


> It is a bit confusing that the error which occurs when a font is not
> installed is a parse error, "Undefined control sequence." - I would
> have thought that fonts would not affect actual LaTeX parsing.

You're right that the Type1 fonts are not considered when LaTeX
compiles the .tex font: they are only used when you actually view the
DVI file or when you convert it to PS or PDF.

However, TeX needs to calculate the amount of space that each glyph
needs, so it consults the .tfm (TeX Font Metric) files in
/usr/share/texmf/fonts/tfm/wadalab/.

Hence the parsing error.  I know it isn't too helpful for us, CJK
users, but I'm no TeXpert (yet ;).


> There is a remaining problem, which is that I can't convert either of
> the dvi files to ps or pdf successfully - all of the Japanese
> characters are blank. Am I correct in imagining that the problem is
> again one of fonts? If so, what should I install?

Most interesting.  That shouldn't happen.
Could you give me an output of the error?  Or the last lines of
missfonts.log, if it exists?

Did something go wrong during the installation of
latex-cjk-japanese-wadalab?

I've got one theory, but I'm not confident that it would actually
work:

  Remove or move away the Cyberbit Type1 and TFM fonts and the .map
  file (basically undoing the installation from README.Debian), and
  run texhash, update-updmap and updmap-sys as root.

  Now recompile the .tex file and view the DVI.  Now run dvips or
  dvipdfmx.  Please show me the error message if it fails.


> By the way, it might be nice to have a Debian package which depends on
> everything necessary to get full functionality from latex-cjk. Hard
> drives are big enough nowadays that I imagine many users won't mind
> the extra space taken up by fonts for languages which they don't
> intend to use. It is only a suggestion.

There is already such a virtual package called "latex-cjk-all", which
will install all the latex-cjk-* fonts.  Since the font packages are
only recommended, latex-cjk-all will also only recommend these fonts.


Best regards



Danai SAE-HAN
韓達耐

-- 
題目:《活水亭觀書有感》
作者:朱熹(1130-1200)

半畝方塘一鑒開,天光云影共徘徊。
問渠那得清如許,為有源頭活水來。

Reply via email to