[Matplotlib-users] LaTeX rendering

Thomas Caswell tcaswell at gmail.com
Tue Mar 12 18:26:37 EDT 2019


I think Jerzy is correct, we are expecting `latex` to be on the path.

Does `latex` work at the shell in the same context as you are running
python?

Tom

On Tue, Mar 12, 2019 at 4:23 PM Jerzy Karczmarczuk <
jerzy.karczmarczuk at unicaen.fr> wrote:

> 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/
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>


-- 
Thomas Caswell
tcaswell at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190312/c2ba25dc/attachment.html>


More information about the Matplotlib-users mailing list