Merge pull request #6 from GuangchuangYu/master

do nothing if not latex or html output