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

  • 7
    Hi, welcome. I think the answer to this is "no". – Torbjørn T. Feb 27 '18 at 9:40
  • 5
    Portable TeX distributions are available (e.g. miktex.org/portable) though. – Torbjørn T. Feb 27 '18 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. – David Carlisle Feb 27 '18 at 9:53
  • 1
    Why don't you want to install LaTeX? – percusse Feb 27 '18 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. – Andrew Feb 27 '18 at 10:28
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.