Re: how to input Chinese in ERT?

2017-06-24 Thread Kornel Benko
Am Samstag, 24. Juni 2017 um 20:56:21, schrieb Guenter Milde 

> On 2017-06-24, subaochen wrote:
> 
> > I can not input any Chinese in ERT, but can copy from others, if I
> > missing some tricks to handle Chinese in ERT? 
> 
> You stumbled about a bug in LyX. 
> 
> In ERT, it prevents you from input of characters that required conversion by
> LyX for LaTeX export (fine). 
> 
> Unfortunately, LyX is overly cautious here, e.g. with the "latex input
> encoding" (Document>Language>Encoding) set to utf8, there should be no
> restriction --- but I can only input latin1 characters, not the rest of
> Unicode.
> 
> Günter

Maybe some work-around could help you for now.
Insert Chinese as normal text, select it, and change to ERT.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: how to input Chinese in ERT?

2017-06-24 Thread Guenter Milde
On 2017-06-24, subaochen wrote:

> I can not input any Chinese in ERT, but can copy from others, if I
> missing some tricks to handle Chinese in ERT? 

You stumbled about a bug in LyX. 

In ERT, it prevents you from input of characters that required conversion by
LyX for LaTeX export (fine). 

Unfortunately, LyX is overly cautious here, e.g. with the "latex input
encoding" (Document>Language>Encoding) set to utf8, there should be no
restriction --- but I can only input latin1 characters, not the rest of
Unicode.

Günter