grip for LaTeX?

183 views Asked by At

I am working on a LaTeX document using git and overleaf. I like being able to edit offline and control when changes are applied (git push). The drawback is I do not have the live preview that is available when working on Overleaf online. Is there any tool that lets us render LaTeX offline?

I am looking for something similar to grip for local previews of markdown files -- all i do is type and refresh a page that it serves on localhost. I am hoping if there is a similar tool for LaTeX. Googling has not yielded anything promising so far - does anybody know? Thanks!

1

There are 1 answers

3
rubenvb On

Yes, it's called... (pdf)LaTeX. It's not some cloudbased magic that transforms your TeX document into a formatted document. It's either some variant of LaTeX or ye olde latex2html which is quite outdated by now.

You can find it in distributions such as TeXLive (all platforms) and MiKTeX (Windows only).

Basically, all you need to do is

pdflatex mydocument.tex

And if all goes well that will produce mydocument.pdf.

There are editors such as TeXStudio, Kile, TeXMaker, TeXWorks etc. that aim to make your life easier and go more into the direction of "live preview".

There is also a what-you-see-is-what-you-get editor called LyX, perhaps that suits your needs best.