On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek <k...@linek.at> wrote:
> Hi,
>
> I wrote a simple simple sentence using a Chinese sign. I could produce a
> pdf-file. Then I just pressed enter to make another line before the
> Chinese sign. Now LyX couldn't make a pdf-file anymore. I noticed LyX
> had ended the CJK-environment just after the enter. I couldn't move the
> \end{CJK}. I reported this behaviour already. But the answers were not
> satisfying. A develper said one can't combine CJK with the German
> package - because of LaTeX. At first I quit, but then I started a final
> test. I exported the lyx-file and produced a simple tex-file. Then I
> opened it with Gummi 0.6. As expected it couldn't produce a pdf-file.
> But unlike to LyX it allows to change the LaTeX directly. So I wrote
> \end{CJK} just before \end{document}. Now it worked just perfect!
>
> Now my question: Have you been ignored to by the LyX developers? What
> should I do now?
>
> Thanks for any answer.
>
> Karl

Hi Karl,

I can reproduce your problem (thank you for sending a minimal
example). if you open your .lyx file and go to "View Source" you will
see "<LyX Warning: uncodable character '氣'>". To fix this, you can
select the character and go to Edit > Text Style > Customized and set
Language to "Chinese". From now on, you can select text and right
click and go to "Language" in the right-click menu (you couldn't
before because there was only one language.

By the way, it's always useful in questions like these if we state our
OS, LyX version and TeX distribution because sometimes a problem has
to do with that. I'm using Ubuntu 13.10 and an up-to-date TeX Live
2013. I've tested my above instructions on 2.0.xgit (soon to be 2.0.7)
and 2.1git (soon to be 2.1).

Best,

Scott

Reply via email to