New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latex not work because dvipng_hack_alpha does not work with dvipng that prints non ascii characters #4545
Comments
Something funny is going on with your version of dvipng. According to http://www.nongnu.org/dvipng/ the author is 'Jan-Åke Larsson' and on my machine I get
neither of which match 'Jan-īe' as you report. I see two solutions to this:
The second is probably a better option, but the first is easier. |
see #4547 which should fix this. |
His name is really Jan-Åke Larsson http://people.isy.liu.se/jalar/ I guess he changed the output at some point in the last 10 years to avoid non ascii characters. I guess this should really be the ISO 8859-1/9/10/13/14/15 representation of Å see https://en.wikipedia.org/wiki/%C3%85 In any case your version of dvipng is quite old (2005 V 1.5) The version in texlive 2015 is 1.15. Is this part of an operation system distribution of latex? Since this is mainly aimed at old versions of dvipng I was thinking that it might be about time to deprecate the dvipng_hack_alpha function but if it's still useful that is obviously to early! The output that I see from TeXLive 2015 is
|
Hi, I am working on a CentOS 5 server, which is indeed ~10 years old. I have just complied dvipng 1.15 and it does not give non ascii characteres anymore, as you stated. The "īe" comes from my terminal encoding which combines two characters into one that seems to be wrong. That is a display issue. Thanks for the correction! |
The matplotlib on my machines cannot work with LaTeX because of
The code clip:
I think
decode('ascii')
code does not support non-ascii characters , while dvipng indeed prints one (the Author name) in some versions:The text was updated successfully, but these errors were encountered: