When setting the document encoding to utf8 I can paste Japanese from other programs like Firefox. The Japanese characters are displayed correctly, and I add \usepackage{CJK} to the preamble and put a \begin{CJK}{UTF8}{ipam} and \end{CJK} around the charecters so they are rendered correctly to dvi or pdf. However I can only render my document manually by exporting to latex and running latex and bibtex, as lyx seems to crash on an exception when pressing the render button:

lyx: Disabling LyX socket.
Consider installing the PyWin extension modules if you're irritated by windows appearing briefly.
pplatex.exe failed to compile 0lyxpreview.tex
pplatex: Process input file thesis.dvi
pplatex: Copy data to thesis.dvi
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Completed

When running inside the vs2005 debugger I get:

Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,boost::filesystem::path_traits> > at memory location 0x00128f78..

First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,boost::filesystem::path_traits> > at memory location 0x00128f78.. First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.. First-chance exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.. Unhandled exception at 0x7c812a5b in lyxc.exe: Microsoft C++ exception: boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,boost::filesystem::path_traits> > at memory location 0x00128f78..
lyxc.exe has triggered a breakpoint
First-chance exception at 0x00405f72 in lyxc.exe: 0xC0000005: Access violation reading location 0x0000002b.

This crash doesn't happen when rendering documents without Japanese. Another CJK issue is that while I can type Japanese, I don't see the IME popup and I don't see what I am typing. Only when pressing enter, the text is inserted and visualized. Overal the 1.5.0 Beta 1 looks very promissing :).

--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer

Reply via email to