I have updated my Tex distribution to TexLive-2017 in case there were any issues there. Have checked that the Tex distribution is in the /Library/Tex/texbin directory and that this directory is in my path and that pdflatex is executable from the above directory. Have restarted and run a simple pandoc command: pandoc -r markdown file.md -o file.pdf --verbose. This fails after 'Run #3' with the error message "Error producing PDF". The first section of the verbose output is:

[makePDF] temp dir:

/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.2846

[makePDF] Command line:

pdflatex "-halt-on-error" "-interaction" "nonstopmode" "-output-directory" "/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.2846" "/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.2846/input.tex"


[makePDF] Environment:

("TEXINPUTS","/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.2846:")

("TERM_PROGRAM","Apple_Terminal")

("SHELL","/bin/bash")

("TERM","xterm-256color")

("TMPDIR","/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/")

("Apple_PubSub_Socket_Render","/private/tmp/com.apple.launchd.NXDmkrZaBu/Render")

("TERM_PROGRAM_VERSION","388.1.1")

("TERM_SESSION_ID","92FF0D2D-9B19-4131-AA4E-D6B17275210D")

("USER","kyle")

("SSH_AUTH_SOCK","/private/tmp/com.apple.launchd.CJLCVbzkwg/Listeners")

("__CF_USER_TEXT_ENCODING","0x67480E71:0x0:0x2")

("PATH","/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin")

("PWD","/Users/kyle/Desktop")

("LANG","en_NZ.UTF-8")

("XPC_FLAGS","0x0")

("XPC_SERVICE_NAME","0")

("SHLVL","1")

("HOME","/Users/kyle")

("LOGNAME","kyle")

("DISPLAY","/private/tmp/com.apple.launchd.2MooiJHYB4/org.macosforge.xquartz:0")

("SECURITYSESSIONID","186a7")

("_","/usr/local/bin/pandoc")

("OLDPWD","/Users/kyle")


[makePDF] Contents of /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.2846/input.tex:


Would really appreciate some help with this if anyone has any ideas.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d33ce8a7-48b0-4952-ae99-9f7b6bfbbc16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.