how to build latex from command line code example Example: run latex from command line pdflatex yourfilename.tex