01 March 2016

TeX file to PDF

We have two easy ways to achieve this

1. Go to a longer (but safer) path:

tex --> dvi --> ps --> pdf

By using:
tex example.tex
dvips example.dvi
ps2pdf example.ps

(download: https://ctan.mines-albi.fr/web/cweb/cwebmac.tex
if necessary)

2. or using a straightforward tool:

pdftex example.tex


In both scenarios you'll get a PDF file.

Give it a try with several TeX files at Knuth's

(mac users: brew install --cask mactex )

 

No comments :

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.