added flag to avoid looping compile errors.

Added the -interaction=nonstopmode flag to stop pdftex from taking user input on compile errors, which sometimes causes it to loop forever.
Merge pull request #2 from terabird/patch-1

added flag to avoid looping compile errors.