Hi John. Thanks for getting back. I have tried both - yes pdflatex is executable at /Libary/TeX/Root/bin/x86_64-darwin/pdflatex and at the new Tex-2017 installation at /Library/Tex/texbin. Yes I have tried putting pdf-engine=pdflatex in the command and this produces the error message "Error producing PDF" with no other details. The verbose log is attached above.
On Saturday, November 11, 2017 at 3:38:49 PM UTC+13, John MacFarlane wrote:
Have you verified that you have an executable file at
/Library/TeX/Root/bin/x86_64-darwin/pdflatex ?
If pdflatex is in your path, can you try just
--pdf-engine=pdflatex ?
+++ Kyle Eggleton [Nov 10 17 16:28 ]:
> Hi, I have just updated to pandoc 2.0.1.1 on my Mac running MacOS
> 10.12.6 and since updating I have been unable to generate PDFs. The
> error message that I am getting is pdf-engine
> /Library/Tex/Root/bin/x86-64-darwin/pdflatex not known.
> My command is: pandoc -r markdown -markdown+smart -N --filter
> /usr/local/bin/pandoc-crossref --filter /usr/local/bin/pandoc-citeproc
> --pdf-engine=/Library/TeX/Root/bin/x86_64-darwin/pdflatex
> --template=/Users/kyle/Documents/IT/Pandoc/templates/thesis.latex
> file.md -o file.pdf
> This command was working fine prior to updating to the new version of
> Pandoc (noting that the old command included
> --latex-engine=path/to/pdflatex rather than
> pdf-engine=path/to/pdflatex)
> I have verified that I have the correct path to pdflatex.
>
> --
> You received this message because you are subscribed to the Google
> Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]pandoc-discus...@googlegroups.com.
> To post to this group, send email to
> [2]pandoc-...@googlegroups.com.
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
> 8673-4d0156d46121%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-...@googlegroups.com
> 3. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@googlegroups.com?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout