texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Errors while trying to get the sympy plugin latex outp


From: François Poulain
Subject: Re: [Texmacs-dev] Errors while trying to get the sympy plugin latex output to work
Date: Fri, 13 Sep 2013 09:10:40 +0200

Le Thu, 12 Sep 2013 11:10:43 -0700 (PDT),
rdeterre <address@hidden> a écrit :

> It does work, with this output :
> 
> $ echo test me hé hé | iconv -f ISO-8859-1 -t UTF-8
> test me hé hé
> 
> I'm not sure if it's relevant, but the error does not appear only
> when the latex function is called in the Python console, but for each
> and every output of this console. Everything outside the Python
> console seems to work though.

Ok, thanks.

In fact I see two problems. The fisrt one is that iconv stuff does not
work on your config. I don't know why actually. The second one is that
I don't think that a conversion from utf8 to latin1 is revelant.
However, since the interface use "texmacs->verbatim" to convert from
TeXmacs to Python, maybe you have enable "iso-8859-1" in the preference
window (see preference -> convert -> verbatim). If this is true, you
should test if utf-8 works better.

From my side, I will change the code to :
* do not drop the content in case of conversion failure;
* modify python plugin charset conversion in order to do not depend from
  user preferences.

François

-- 
François Poulain <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]