How to compile a LaTeX fragment file into PDF when pdflatex is missing on macOS?