Crashes if called without --tex or --pdf. 
I suggest that --tex is used as default.