New cjk-latex package version 4.6.0 come out on 11-Aug-2005. Can anyone add it into portage. Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 103311 has been marked as a duplicate of this bug. ***
Created attachment 68557 [details] cjk-latex-4.6.0.ebuild
There still a problem in this ebuild, there is a directory 'utils/subfonts', which contains useful scripts for manipulating subfont by using fontforge, I don't know where it should be installed.
why not put 'utils/subfonts' into /usr/share/cjk-latex
I will fix this and also will try to fix bug #40354. Thanks for your comment.
Created attachment 68627 [details] cjk-latex-4.6.0.ebuild
Can anyone add this new version of cjk-latex into portage? It seems that my new ebuilds for cjk-latex-4.5.2 and cjk-latex-4.6.0 resolve bug #40354. Maybe cjk-latex can be marked as stable in x86 sometime, it has been in ~x86 for a very long time.
Created attachment 68715 [details] cjk-latex-4.6.0.ebuild Don't create symbol link, it makes package remove not clean. Install hbfs font into texmf/fonts/misc instead for hbf2gf looking hbf fonts in this dir.
Change the ebuild to install doc correctly to get texdoc work with cjk-latex docs. And install 'utils/subfonts' dir to texmf/scripts/subfonts instead of /usr/share/cjk-latex/subfonts to make it TDS compatible.
Created attachment 68790 [details] cjk-latex-4.6.0.ebuild
why this is still not in the portage tree? /usr/portage/dev-tex/cjk-latex
Sorry for this late reply, but we are currently understaffed! I will have a look at this later this week. It is very nice that you also fixed bug #40354! After I have commited this ebuild and you have verified that it fixes bug #40354 then there should be no problem openening a bug about stabilizing this version of cjk-latex.
I've just emerged this, however, I cannot get it to work. When compiling the example files from /usr/share/doc/cjk-latex-4.6.0/examples, I get nothing but errors, for example about missing 'cyberb00' font. Not a single one of the examples actually compiles. My CJK-4.6.0-fonts.tar.gz does not contain any such font. Does it actually work for anyone?
(In reply to comment #13) > I've just emerged this, however, I cannot get it to work. When compiling the > example files from /usr/share/doc/cjk-latex-4.6.0/examples, I get nothing but > errors, for example about missing 'cyberb00' font. Not a single one of the > examples actually compiles. My CJK-4.6.0-fonts.tar.gz does not contain any such > font. Does it actually work for anyone? > This just because you don't install cyberbit type1 font(for UTF-8), and also arphic type1 fonts(for Big5 and GB). The Chinese examples in doc dir can only compile successfully with these fonts installed. I do test *JIS, KS and thai examples, some of them failed because lacking corresponding fonts. But I don't think we need to install all fonts with cjk-latex package. The CJK-4.6.0-fonts.tar.gz only provide some ugly bitmap fonts which are not even used by people. I think maybe let users know they should install addtion type1 fonts themselves to make cjk-latex working correctly is a good idea to deal with this problem.
The installation procedure seems to be complicated; first you have to get the ttf fonts, then download ttf2pk package from ctan, then you have to find out how to create the fonts properly, and then you still have to find out where to place the resulting files (if the conversion does not fail in the first place, that is...). It would be really nice to have emerge take over this tedious work. What's the point of emerging a cjk package when you can't use cjk with it, without installing extra software manually? (And so far I have failed to install it manually :-() Or is there already a font package for it which I've missed all the time? I emerged all media-fonts/* packages that are not ~x86/masked.
Em, then I suggest to install type1 fonts not pk fonts. It is not enough to install only pk fonts, because dvips and dvipdfm need type1 fonts. After install type1 fonts properly, tetex can automatically genterate pk fonts when needed. As I know, there are mainly two general methods to get use of CJK truetype fonts in latex. First is using ttf2pt1 and ttf2tfm (or other similar tools) to create type1 fonts from CJK truetype fonts, and create *.map files for dvips and dvipdfm by hand or by scripts. Second is using fontforge and subfont scripts in cjk-latex package. Both methods could be done automatically by using bash scripts. But both methods consume a lot of time, especially the latter. It some times takes hours to complete. So maybe it is a good idea to provide a script that can install truetype fonts correctly instead of just install some CJK fonts for user. > Or is there already a font package for it which I've missed all the time? Yes, there are some in CTAN. > I emerged all media-fonts/* packages that are not ~x86/masked. You should do some addtion works to make it work with tex.
bumped to 4.7.0 ;)