I don't have the option of compiling using LaTeX engine in TeXworks, which I installed from MiKTeX. Take a look at the options I have:

How do I compile that TeX document using LaTeX?
|
TeXworks doesn't support the DVI output format but the PDF output format in preview only, so you need to use pdfLaTeX here (or use something different which will produce PDF at the end). If you want to work with DVI output format I would suggest picking a different LaTeX editor/shell. |
|||||||
|
|
I am converting my comments into Answer TeXworks documentation wiki gives you to configure LaTeX->dvi->ps2pdf route for PDF using Other approach of automation via .dvi is using LaTeX Wikibook always comes in handy |
|||
|
|
|
So. LaTeX is the set of commands we use to create documents. For example
If you want PDF output you have several choices. One of them is:
You only need this if you used PSTricks or related packages in your code. Most people therefore use another program called So you don't have to compile your .tex file with Note: |
|||
|
|
|
Even To get from DVI to PDF you can use |
|||||||||||||||||
|
LaTeX->dvi->ps2pdfroute for PDF. – texenthusiast Jan 4 at 5:26.bat. Other approach of automation via.dviis usingLatexmk– texenthusiast Jan 4 at 5:35pdflatexis a command which uses LaTeX to produces PDF files directly: the more traditional use of thelatexcommand to make.dvifiles requires subsequent steps to make PDF files. For most new users,pdflatexis much more convenient than 'traditional'latex, and indeed many experienced LaTeX users have moved to pdfLaTeX-only workflows. – Joseph Wright♦ Jan 4 at 7:07