## (La)TeX

1. Why does latex use pdfTeX (and not TeX)?
2. How can I change the output file name?
3. How can I change the output directory?
4. How do I insert source specials into the DVI file?
 1. Why does latex use pdfTeX (and not TeX)? pdfTeX is now the default typesetting engine. The DVI output should be identical to that of TeX. 2. How can I change the output file name? You can use option `--job-name` to set the name of the output file. For example, you would run `pdflatex --job-name=dog cat.tex` to create the PDF file `dog.pdf` instead of `cat.pdf`. 3. How can I change the output directory? You can use the option `--output-directory` to specify an alternative location for all output files.For example, you would run `pdflatex --output-directory=C:\temp mydoc.tex` to deposit the output file (`mydoc.pdf`) in `C:\temp\`. 4. How do I insert source specials into the DVI file? You use the `--src-specials` option to enrich the DVI file with source file information (aka âsource specialsâ).Source specials enable the DVI previewer to synchronize with the text editor while you are editing the TeX source file.For example, run the `latex --src mydoc.tex` to enrich DVI file `mydoc.dvi` with source file information, i.e., `mydoc.dvi` will contain references to `mydoc.tex`.