pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CJK with LaTeX, freetype 1 distfile, kpathsea conflict, missing fonts



(I bcc'd this to a few related maintainers.)

My goal is to use CJK with LaTeX.

I found wip/cjk-latex. It is version 4.6.0. Upstream is at 4.8.2. I 
installed it first by commenting out the ttf2pk dependency. The resulting 
package was missing:
pkg/share/texmf-local/tex/generic/babel/pinyin.ldf
pkg/share/texmf-local/tex/generic/hyphen/pyhyph.tex

When I attempt to build with pdflatex some simple CJK .tex files I get 
errors about missing fonts, like:

... Font shape `C42/min/m/n' undefined
... using `C42/song/m/n' instead
... I can't find file `dmjku12'
and
... I can't find file `dmjsy10'.

(I think the contrib/wadalab does provide these.)

I can't easily install ttf2pk since it depends on kpathsea which conflicts 
with my already installed  teTeX-bin-3.0nb14 and teTeX-texmf-3.0nb5.

Also distfile for ttf2pk no longer exists. (We still host it though.) 
Debian has a newer version freetype1_1.4pre.20050518.orig. (Note that 
upstream's last versions was 1.3.1 from December 1999.)

I installed wip/cjk-latex-wadalab yet. Maybe it is what I need, but 
it needs CJK-4_5.2.tar.gz which no longer exists. I think it was on 
Hubert's own server. I changed to use cjk-4.6.0 instead.
Also the creation for INSTALL and DEINSTALL fails, due to trying to put 
into non-exist work/.pkgdb directory. I manually created that.
And it needed a directory created before installation, so I did 
INSTALLATION_DIRS=      ${FDDIR}

This resulted in:

=> Checking file-check results for cjk-latex-wadalab-4.6.0
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42goth.fdv
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42maru.fdv
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42min.fdv
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c52maru.fdv
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c52min.fdv
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42goth.fdx
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42maru.fdx
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c42min.fdx
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c52maru.fdx
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c52min.fdx
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c70goth.fd
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c70maru.fd
ERROR:         /usr/pkg/share/texmf/tex/latex/CJK/JIS/c70min.fd
*** Error code 1


But now I can use pdflatex to render my documents.

Anyone working on the CJK for LaTeX packages?

Or any other ideas I should use instead?

I haven't tried the cjk-lyx yet.

On a different system I could install newer texlive packages if that would 
help. (I don't want to lose my existing teTeX until I know different 
packages will be able to render or work with all my many documents.)


Home | Main Index | Thread Index | Old Index