1

Is there any way to compile a .tex to pdf without having to install latex.

Is there any python package for this ?

Or even better is there any small stand-alone portable software for this.

Thanks a lot

9
  • 7
    Hi, welcome. I think the answer to this is "no". Feb 27, 2018 at 9:40
  • 5
    Portable TeX distributions are available (e.g. miktex.org/portable) though. Feb 27, 2018 at 9:46
  • 11
    you can also use online latex systems such as sharelatex sharelatex.com but otherwise your question is equivalent to asking on a python forum how to evaluate a python file without installing python. Feb 27, 2018 at 9:53
  • 1
    Why don't you want to install LaTeX?
    – percusse
    Feb 27, 2018 at 10:15
  • 5
    If you want to process a latex file it’s helpful to, first, have a computer and, secondly, to install latex.
    – user30471
    Feb 27, 2018 at 10:28

1 Answer 1

2

If you're using matplotlib, you have a basic TeX expression parser which works quite well. But to go beyond that you need to install a (La)TeX distribution.

It should be possible to use matplotlib to produce graphics containing equations written in TeX by turning off everything else in the graph and plotting no data. That would be an interesting question, but one for the python experts rather than for here, assumign you can't figure it out yourself.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .