Hi, I'm new to the community of lyx and cjk-lyx. Recently, I downloaded the source of CJK-LyX-qt-1.3.6-1.src.tar.gz from ftp://cellular.phys.pusan.ac.kr/CJK-LyX and compiled it under SuSe Pro 9.3 and Windows XP with MinGW and Qt-free. The following highlights my compiling experience with spotted problems.
1. The compilation in Linux was very smooth and lyx accepts Chinese inputs in text mode. It seems work well but under math mode it doesn't allow Chinese inputs. Any Chinese characters entered from the IME dosen't enter the math frame but is displayed in front of the math frame. Here the math frame indicates the active area for math input. Quite often, a character is needed to be in a text string within math mode, which can be realized by \mbox{} or \text{} commands. Sometimes, a Chinese character is used as a math symbol. 2. For the compilation in MinGW, I followed Michael Schmitt's instruction for compiling lyx-qt-win-1.3.6, http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg80087.html. (1) During first compilation, the compiler stopped at files ./CJK-LyX-qt-1.3.6/src/frontends/qt2/QLPainter.C and ./CJK-LyX-qt-1.3.6/src/lyxfind.C with the error message that alloca() is not defined. Then I added the following codes to the both files and the compilation went on. (Essentially, it is "#include <alloca.h>"). #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # if defined HAVE_ALLOCA_H || defined _LIBC # include <alloca.h> # else # ifdef _AIX # pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif (2) The compilation stopped once more at file ./CJK-LyX-qt-1.3.6/src/lyxcodeconv.C By commenting on the three lines #include <X11/Xlib.h> #include <X11/Xlocale.h> #include <X11/Xutil.h> the compilation was finished. (3) Then with excitement I invoked lyx.exe and tried to input some Chinese characters. But they weren't displayed in the lyx window. With some investigation, I noticed that, the Chinese characters I input are merely in the buffer. In fact, exporting lyx file into its latex version, I saw the Chinese characters in the latex file! Another clue. Position the cursor in between "A" abd "B" in the string "AB". Enter 5 Chinese characters from an IME. You can only see 'AB' on the screen. But you have to press the left arrow key 6 times to reach the left of "A". Thanks. Y.Z. ------------------------------------ Prof. Dr. Yinwei Zhan Faculty of Computer Science Guangdong University of Technology 729 East Dongfeng Road Guangzhou 510090 China email: [EMAIL PROTECTED] Tel: +86-20-3167 2980 Fax: +86-20-3762 8481 NB: The postal address is subject to change since the faculty will move to the new university campus. ------------------------------------