-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I installed CJK-LyX today, copied the example lyxrc, and enabled GB support that way. The example document looks fine in LyX, but xdvi fails. An excerpt from it's output can be found in the attachement to this mail. /usr/share/texmf/fonts/tfm/arphic/gkai00mp/gkairs*.tfm does exist. Thanks, Arne - -- How do you explain school to a higher intelligence? -- Elliot, "E.T." [--- PGP key available on http://www.root42.de/ ---] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8TYYXzpP3gv0FvtcRAilYAJ9Op423892rIb64TS3VtkrQ/oJ2sgCfWdEU PA6PByBglWCDC38HvTF0P4c= =nWxE -----END PGP SIGNATURE-----
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
I installed CJK-LyX today, copied the example lyxrc, and enabled GB support that way. The example document looks fine in LyX, but xdvi fails. An excerpt from it's output can be found in the attachement to this mail.
/usr/share/texmf/fonts/tfm/arphic/gkai00mp/gkairs*.tfm does exist.
Looks like you don't have the packages cjk-latex-tfm-arphic-gbsn00lp.rpm and cjk-latex-tfm-arphic-gkai00mp.rpm installed. To use CJK-LaTeX with the Arphic fonts for simplified Chinese you need: ftp://ftp.suse.com/pub/suse/i386/7.3/suse/j2/cjk-latex-tfm-arphic-gbsn00lp.rpm ftp://ftp.suse.com/pub/suse/i386/7.3/suse/j2/cjk-latex-tfm-arphic-gkai00mp.rpm ftp://ftp.suse.com/pub/suse/i386/7.3/suse/j2/cjk-latex.rpm (These are CJK-LaTeX 4.2.0 packages) Or you can update to the new version of the CJK-LaTeX 4.4.0 packages: ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/cjk-latex-4.4.0_20010731-99.i386.rpm In this new version I have removed the packages with the .tfm files and introduced a /sbin/conf.d/SuSEconfig.cjk-latex script instead which generates them automatically if they are missing or out of date. I.e. if you use the new version you just have to call SuSEconfig after installing cjk-latex-4.4.0_20010731-99.i386.rpm. Then the .tfm files will be created automatically for all fonts which are installed in /usr/X11R6/lib/X11/fonts/truetype and which have entries in /etc/ttf2pk/ttfonts.map. For the Arphic fonts /etc/ttf2pk/ttfonts.map already contains these entries, i.e. you don't need to do special setup, just run SuSEconfig. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Am Dienstag, 22. Januar 2002 17:50 schrieb Mike Fabian:
Looks like you don't have the packages cjk-latex-tfm-arphic-gbsn00lp.rpm and cjk-latex-tfm-arphic-gkai00mp.rpm installed. To use CJK-LaTeX with the Arphic fonts for simplified Chinese you need:
Yes, I did have them, but after upgrading to the 4.4.0 packages LaTeX works fine now. Thanks! And again one other thing comes to my mind: Konqueror does not display (not at all!) http://cn.yahoo.com unless I switch to gbk-encoding (auto chooses gb3120). What can I do about this? It's a bit annoying. And upon logging out of KDE2, X11 hangs but it can be killed by Ctrl-Alt-Backspace. If I try to kill xcin before logout, X11 hangs, too. And this time it can be killed, too. Arne -- Real programmers don't bring brown-bag lunches. If the vending machine doesn't sell it, they don't eat it. Vending machines don't sell quiche. [--- PGP key available on http://www.root42.de/ ---]
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
Am Dienstag, 22. Januar 2002 17:50 schrieb Mike Fabian:
Looks like you don't have the packages cjk-latex-tfm-arphic-gbsn00lp.rpm and cjk-latex-tfm-arphic-gkai00mp.rpm installed. To use CJK-LaTeX with the Arphic fonts for simplified Chinese you need:
Yes, I did have them, but after upgrading to the 4.4.0 packages LaTeX works fine now. Thanks!
And again one other thing comes to my mind: Konqueror does not display (not at all!) http://cn.yahoo.com unless I switch to gbk-encoding (auto chooses gb3120).
Well, the page is GB2312 encoded. At least it says so in the header: <meta http-equiv="content-type" content="text/html; charset=gb2312"> So the automatic encoding selection of konqueror does the right thing. All other browsers (Mozilla, Netscape 4.79, w3m-el, ..) choose GB2312 as well and display the page correctly. GBK is an extension of GB2312, therefore it it is not surprising that the page can be displayed in GBK as well. But it should not be necessary and as only konqueror seems to have a problem to display the page in GB2312, I believe it is a konqueror problem.
What can I do about this? It's a bit annoying.
File a bug report for konqueror.
And upon logging out of KDE2, X11 hangs but it can be killed by Ctrl-Alt-Backspace. If I try to kill xcin before logout, X11 hangs, too. And this time it can be killed, too.
Yes, this is a known bug which was already discussed on this list. The problem seems to disappear, when OverTheSpot is disabled in /etc/xcin/xcinrc like this: ; ; XIM Input Style Adjustments. ; ;(define INPUT_STYLE '(Root OverTheSpot)) (define INPUT_STYLE '(Root)) But that is not good solution because Root window style input is much more inconvenient than OverTheSpot. But at the moment I don't know anything better, sorry. This happens only with KDE, not with the other window mangers/desktops. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Am Dienstag, 22. Januar 2002 19:54 schrieben Sie:
But it should not be necessary and as only konqueror seems to have a problem to display the page in GB2312, I believe it is a konqueror problem.
What can I do about this? It's a bit annoying.
File a bug report for konqueror.
Ok, I'll do that and make sure that it isn't an already known problem. And yes, I forgot to mention that Netscape and Mozilla display the page fine.
Yes, this is a known bug which was already discussed on this list.
Whoops, should have checked the archives, sorry. Again, thank you very much for the support. This list has been extremely helpful! Arne -- There's a fine line between courage and foolishness. Too bad it's not a fence. [--- PGP key available on http://www.root42.de/ ---]
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
Am Dienstag, 22. Januar 2002 19:54 schrieben Sie:
But it should not be necessary and as only konqueror seems to have a problem to display the page in GB2312, I believe it is a konqueror problem.
What can I do about this? It's a bit annoying.
File a bug report for konqueror.
Ok, I'll do that and make sure that it isn't an already known problem. And yes, I forgot to mention that Netscape and Mozilla display the page fine.
Wait a moment! I just found that it is enough to select suitable fonts in the setup of konqueror for GB2312. I had no font selected for GB2312 encoding at all but when I select for example the 'Arphic PL SungtiL GB' font for GB2312 and apply the setup, konqueror show this page correctly from then on. It's still a bit strange why GBK worked out of the box although I didn't set a font for GBK either. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Am Dienstag, 22. Januar 2002 20:59 schrieb Mike Fabian:
Wait a moment!
I just found that it is enough to select suitable fonts in the setup of konqueror for GB2312. I had no font selected for GB2312 encoding at all but when I select for example the 'Arphic PL SungtiL GB' font for GB2312 and apply the setup, konqueror show this page correctly from then on.
Yup, it is very obvious, and it works. Funny.
It's still a bit strange why GBK worked out of the box although I didn't set a font for GBK either.
Hmm... haven't got a clue -- where does KDE store the encodings anyway? Arne -- Just remember: when you go to court, you are trusting your fate to twelve people that weren't smart enough to get out of jury duty! [--- PGP key available on http://www.root42.de/ ---]
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
Am Dienstag, 22. Januar 2002 20:59 schrieb Mike Fabian:
[...]
It's still a bit strange why GBK worked out of the box although I didn't set a font for GBK either.
Hmm... haven't got a clue -- where does KDE store the encodings anyway?
You mean where KDE stores the options for Konqueror? ~/.kde2/share/config/konquerorrc -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (2)
-
Arne Schmitz
-
Mike Fabian