I have noticed that on some .tex files (making use of the graphicx and hyperref packages and PDF image files), the
latex command produces PDF files instead of the expected DVI. How and when does this happen?
In case this matters, I'm using TeXLive 2012.20120611-3~ubuntu12.04.1 on Ubuntu 12.04 (from PPA):
$ latex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) restricted \write18 enabled.