[Tex/LaTex] How to compile a LaTeX document


Up until now, I've just been using LyX for all my LaTeX needs. Now I have a .tex file and I need to compile it (turn to pdf). How do I do this on Windows XP? Obviously I have LaTeX installed (MikTeX).

Best Answer

one way of doing this is using the command line by entering pdflatex yourfilename.tex (assuming MikTex is in your path - just give it a try).

Another way would include installing software such as TeXnicCenter or TeXworks which will let you open/edit/compile a .tex file from within an editor environment.

A third way could be to import it into LyX and then compile with LyX as usual.

Edit: See LaTeX Editors/IDEs.