bash scripts for latex pdf