Import utf-8 encoded latex

Guenter Milde milde at users.sf.net
Tue Nov 19 09:22:17 UTC 2019


On 2019-11-18, Guenter Milde wrote:
> On 2019-11-18, Neal Becker wrote:
>> I'm trying to import a latex table that is in utf-8 and includes some non-ascii
>> (specifically, the π character).

>> When I try to import to lyx, this character is mangled.

>> If I run tex2lyx manually I get the same result.

>> Both emacs and 'file' say my latex is utf-8.

>> Any ideas?

> Manually convert with `tex2lyx -e utf8` ?

Also, while the preamble line 

   \usepackage[utf8]{inputenc}
   
is no longer required since utf8 became the fallback encoding, it is still
wise to include it to clearly mark the intended encoding.


Günter




More information about the lyx-users mailing list