[Matplotlib-users] LaTeX rendering
Jerzy Karczmarczuk
jerzy.karczmarczuk at unicaen.fr
Tue Mar 12 16:15:47 EDT 2019
Hello.
Le 12/03/2019 à 18:36, Stefano Gragnani a écrit :
> I want to do is use an external TeX renderer but I always get: FileNotFoundError: [Errno 2] No such file or directory: 'latex': ‘latex’.
> ...
>
> I have installed MacTex and also MiKTek with their installers and Ghostscript with Home-brew. I use Spyder installed with Conda.
> Using Mathtext everything is alright.
> In which directory Matplotlib expect to find the directory ‘latex’?
I use Windows, so my answer may not be relevant, but MiKTeX installation
does not necessarily update your path, so check that, it may be as
simple as that. What happens if you launch latex in a terminal?
(In Win10 latex.exe is where you put it, e.g., in
C:\MiKTeX\miktex\bin\x64\)
Good luck
Jerzy Karczmarczuk
/Caen, France/
More information about the Matplotlib-users
mailing list