added some settings for pandoc and latex