Re: CJK only LyX can't do it

2013-12-23 Thread Jürgen Spitzmüller
Scott Kostyshak wrote:
 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.

And additionally:

* Set the document encoding to Default

(as explained on lyx-devel already)

Actually, you should also be able to set it to Unicode (utf8) (which is nota 
bene not the same as Unicode (CJK)). But LyX had a bug and did not load the 
CJK package in that case; this is fixed meanwhile in the development trunk.

 On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek k...@linek.at wrote:
  Now my question: Have you been ignored to by the LyX developers? What
  should I do now?

I do not have the impression that we have ignored your previous question.

However, none of the current LyX developers speaks or writes Chinese, Japanese 
or Korean, so nobody uses CJK for real work. This is why we rely on user 
feedback here.

Regards,
Jürgen


Re: CJK only LyX can't do it

2013-12-23 Thread Jürgen Spitzmüller
Scott Kostyshak wrote:
 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.

And additionally:

* Set the document encoding to Default

(as explained on lyx-devel already)

Actually, you should also be able to set it to Unicode (utf8) (which is nota 
bene not the same as Unicode (CJK)). But LyX had a bug and did not load the 
CJK package in that case; this is fixed meanwhile in the development trunk.

 On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek k...@linek.at wrote:
  Now my question: Have you been ignored to by the LyX developers? What
  should I do now?

I do not have the impression that we have ignored your previous question.

However, none of the current LyX developers speaks or writes Chinese, Japanese 
or Korean, so nobody uses CJK for real work. This is why we rely on user 
feedback here.

Regards,
Jürgen


Re: CJK only LyX can't do it

2013-12-23 Thread Jürgen Spitzmüller
Scott Kostyshak wrote:
> 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 "". 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.

And additionally:

* Set the document encoding to "Default"

(as explained on lyx-devel already)

Actually, you should also be able to set it to "Unicode (utf8)" (which is nota 
bene not the same as "Unicode (CJK)"). But LyX had a bug and did not load the 
CJK package in that case; this is fixed meanwhile in the development trunk.

> On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek  wrote:
> > Now my question: Have you been ignored to by the LyX developers? What
> > should I do now?

I do not have the impression that we have ignored your previous question.

However, none of the current LyX developers speaks or writes Chinese, Japanese 
or Korean, so nobody uses CJK for real work. This is why we rely on user 
feedback here.

Regards,
Jürgen


CJK only LyX can't do it

2013-12-22 Thread Karl Linek
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




Chinesisch.lyx
Description: application/lyx


Re: CJK only LyX can't do it

2013-12-22 Thread Scott Kostyshak
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


CJK only LyX can't do it

2013-12-22 Thread Karl Linek
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




Chinesisch.lyx
Description: application/lyx


Re: CJK only LyX can't do it

2013-12-22 Thread Scott Kostyshak
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


CJK only LyX can't do it

2013-12-22 Thread Karl Linek
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




Chinesisch.lyx
Description: application/lyx


Re: CJK only LyX can't do it

2013-12-22 Thread Scott Kostyshak
On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek  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 "". 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