* Skriv a reas René Schwaiger (sanssecours@f-m.fm):
|> #!/bin/bash |> |> PDF_PATH=`echo "${TM_FILEPATH}" | sed -E 's/.[^/]+$/.pdf/'` |> PDF_NAME=`basename "${PDF_PATH}"` |> pandoc -S --latex-engine=xelatex "${TM_FILEPATH}" -o "${PDF_PATH}" |> echo "PDF saved to ${PDF_NAME}" |> Thank you René for the command. When I try it on my .txt files, however, a tool tip comes up with "Generate PDF: line 5: pandoc: command not found." I wonder whether my path is set up correctly and how I should check it. --Gildas
Joyeux Noël!