Thank you, I installed xdevel an at least cjk-lyx starts. But when I try to insert characters it still displays odd stuff. When I try to output to dvi there is a message "cannot create fontset GB2312-0". I can instert chinese charackters in kedit. But I think there is something wrong with some global settings. Sorry about my questions, I am new to linux so my questions may not be that professional. Thank you Felix felix ulmer" <felix.ulmer@uni-tuebingen.de> writes:
cjk-lyx just won´t start. using the debug command I can see, that it stops at "initialising GUI".
Did Gerhard Schuck's hint to install xdevel.rpm help?
I tried it on another machine cjk-lyx had the same problem, but than suddenly it worked. So I installed xcin, which works pretty well with chinese. But when I insert characters, it will not display them. there is just some 24bit charakter output. It won´t print as well.
I can't reproduce that problem. Did you setup the fonts as described in http://www.suse.de/~mfabian/suse-cjk/cjk-lyx-chinese-big5.html ?
I am using the arphic fonts. I tried to convert them to T1 but that did not work.
How did you try to convert them to T1? The easiest way to create Type1 versions of these fonts for use with CJK-LaTeX is to use my /usr/sbin/cjk-latex-config script. Just call it like cjk-latex-config --type1 as root and it will create Type1 versions of the fonts which will be used by dvips and by pdflatex. Using Type1 fonts in the PostScript files and in the .pdf files has the advantage that they scale better, i.e. even at very high zoom levels they look nice. When .pk fonts are used you will see the pixels of the bitmaps at high zoom levels. This is also quite visible when you use something like \scalebox{5}{... text ...} in your .tex files. On top of that, .pdf files containing .pk fonts cannot be displayed correctly by xpdf, but when Type1 fonts are used xpdf can display them correctly without problems. The use of Type1 fonts for PostScript and .pdf doesn't influence the screen display of cjk-lyx though, the fonts used for display on screen are selected only in ~/.lyx-cjk/lyxrc. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 _______________________________________________________ Felix Ulmer-Zhuo Lehrstuhl Volkswirtschaftslehre insbesondere Wirtschaftspolitik Professor Dr. Dr. h.c. Joachim Starbatty Nauklerstr. 47 72074 Tübingen Zimmer 219 Tel.: 07071/29-76466 Fax: 07071/29-5077 Sprechstunde Donnerstag 10-12 Uhr
"felix ulmer" <felix.ulmer@uni-tuebingen.de> writes:
I installed xdevel an at least cjk-lyx starts.
But when I try to insert characters it still displays odd stuff.
What locale are you using? I.e. what is the output of the 'locale' command? Can you display the chinese example file which comes with cjk-lyx correctly? Try to display it like this: LC_ALL=zh_CN lyx-cjk /usr/share/doc/packages/cjk-lyx/example-chinese-gb2312-cjk-latex.lyx
When I try to output to dvi there is a message "cannot create fontset GB2312-0".
You try that from the menu of cjk-lyx?
I can instert chinese charackters in kedit. But I think there is something wrong with some global settings.
If you like you can send me the contents of ~/.lyx-cjk/lyxrc and the output of the commands 'locale' and 'xlsfonts' in private mail, I will then have a look whether I can spot something wrong. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (2)
-
felix ulmer
-
Mike Fabian