Last active
December 6, 2019 10:05
-
-
Save michaeldorner/3f70be38e70751806788323c86477987 to your computer and use it in GitHub Desktop.
My latexmk build file for Texpad fixing the issue with paths which contain spaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Texpad 1.7 Build script to build with latexmk | |
| tempdir="$(dirname "${TEXPAD_ROOTFILE}")/.texpadtmp"; | |
| latexmk -pdf -interaction=nonstopmode -outdir="${tempdir}" -file-line-error -synctex=1 "${TEXPAD_ROOTFILE}"; | |
| #mv "${tempdir}/$(basename "${TEXPAD_ROOTFILE}")" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment