Using package "standalone" to crop resulting PDF to fit.
Get path to pdflatex from the login shell (sh compatible).
I only know how to do this for Unix/MacOS X.
Bring generate PDF into Mma instead of opening it in a separate program.
This requires two changes:
1. TexView now Imports the PDF and returns it on success.
2. The preamble requires \pdfminorversion=3 because Mma's PDF importing is dumb.