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.
To get from DVI to PDF you can use
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
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