Have done as you suggested. Here is the verbose log:
mpholt55:Desktop kyle$ pandoc -r markdown --pdf-engine=pdflatex trial.md -o trial.pdf --verbose
[makePDF] temp dir:
/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468
[makePDF] Command line:
pdflatex "-halt-on-error" "-interaction" "nonstopmode" "-output-directory" "/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468" "/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468/input.tex"
[makePDF] Environment:
("TEXINPUTS","/private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468:")
("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","8FB45A14-DCBD-467E-8CAA-212CFEB01C0F")
("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.5468/input.tex:
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[]{article}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provides euro and other symbols
\else % if luatex or xelatex
\usepackage{unicode-math}
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
\usepackage{hyperref}
\hypersetup{
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{0}
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
% set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\date{}
\begin{document}
Hi
\end{document}
[makePDF] Run #1
[makePDF] Run #2
[makePDF] Run #3
Error producing PDF.
On Saturday, November 11, 2017 at 3:58:18 PM UTC+13, John MacFarlane wrote:
You only provided part of the log (and I didn't see any
error messages). Try converting with --pdf-engine=pdflatex
and a really simple input file like ("*hi*").
If it succeeds with the simple file, then the problem has
to do with the content in your file. In this case we'd
need to see more of the verbose log.
+++ Kyle Eggleton [Nov 10 17 18:48 ]:
> 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
> > [1]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][2]pandoc-discus...@googlegroups.com.
> > To post to this group, send email to
> > [2][3]pandoc-...@googlegroups.com.
> > To view this discussion on the web visit
> > [3][4]https://groups.google.com/d/msgid/pandoc-discuss/
> d6542d6e-931b-4855-
> > 8673-4d0156d46121%[5]40googlegroups.com.
> > For more options, visit [4][6]https://groups.google.com/
> d/optout.
> >
> >References
> >
> > 1. mailto:[7]pandoc-discuss+unsubscribe@googlegroups.com
> > 2. mailto:[8]pandoc-...@googlegroups.com
> > 3. [9]https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> 931b-4855-8673-4d0156d46121@googlegroups.com?utm_medium=
> email&utm_source=footer
> > 4. [10]https://groups.google.com/d/optout
>
> --
> 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 [11]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To post to this group, send email to
> [12]pandoc-...@googlegroups.com.
> To view this discussion on the web visit
> [13]https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
> -bc39-71f9f2a83682%40googlegroups.com.
> For more options, visit [14]https://groups.google.com/d/optout.
>
>References
>
> 1. http://file.md/
> 2. javascript:/
> 3. javascript:/
> 4. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
> 5. http://40googlegroups.com/
> 6. https://groups.google.com/d/optout
> 7. javascript:/
> 8. javascript:/
> 9. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@googlegroups.com?utm_medium=email&utm_source=footer
> 10. https://groups.google.com/d/optout
> 11. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 12. mailto:pandoc-...@googlegroups.com
> 13. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@googlegroups.com?utm_medium=email&utm_source=footer
> 14. https://groups.google.com/d/optout