LaTeX (dvips) online

Run LaTeX (dvips) online: the PostScript route turns your source into DVI, then PostScript, then the PDF, so PSTricks, psfrag and EPS figures all render.

First page of the LaTeX example, compiled with LaTeX

Open in LaTeX.to Download the example (zip)

How to compile with LaTeX on LaTeX.to

Everything runs in your browser: nothing to install, no login, no compile timeout.

What the LaTeX route is

latex does not write a PDF. It writes a DVI file, dvips turns that into PostScript, and one Ghostscript run distills the PostScript into the PDF you download. Three programs, one click here. It is the oldest complete route to a finished page, it is what Overleaf's "LaTeX" compiler setting runs, and it is the only route on this site that can execute PostScript on the way.

Auto picks it by itself when a document loads pstricks, any pst- package, psfrag or auto-pst-pdf, since none of those draw anywhere else. Nothing else detects to it, so in any other document the first line, % !TeX program = latex, is what asks for it.

When to use it

What works and what does not

LaTeX vs pdfLaTeX

Same source, same packages, different last mile. pdfLaTeX writes the PDF itself, in one pass, with microtypography, and cannot run a line of PostScript. This route spends two more programs and gains PSTricks, psfrag and EPS. If the document needs none of those, use pdfLaTeX; if it draws in PostScript, use this one, and TikZ vs PSTricks is the longer answer to which drawing language to write in.

More engines: LuaLaTeX, pdfLaTeX, XeLaTeX, LaTeX (dvipdfmx) and all engines.