* pdf-engine pdflatex not known
@ 2017-11-11 0:28 Kyle Eggleton
[not found] ` <d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Kyle Eggleton @ 2017-11-11 0:28 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1344 bytes --]
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1820 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-11 2:30 ` Kyle Eggleton
2017-11-11 2:38 ` John MacFarlane
1 sibling, 0 replies; 11+ messages in thread
From: Kyle Eggleton @ 2017-11-11 2:30 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 2582 bytes --]
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
[-- Attachment #1.2: Type: text/html, Size: 11247 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-11 2:30 ` Kyle Eggleton
@ 2017-11-11 2:38 ` John MacFarlane
[not found] ` <20171111023832.GA16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
1 sibling, 1 reply; 11+ messages in thread
From: John MacFarlane @ 2017-11-11 2:38 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> 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-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <20171111023832.GA16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
@ 2017-11-11 2:48 ` Kyle Eggleton
[not found] ` <e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Kyle Eggleton @ 2017-11-11 2:48 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 3201 bytes --]
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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To post to this group, send email to
> > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > 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 <javascript:>
> > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 3.
> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 4. 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 7018 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-11 2:58 ` John MacFarlane
[not found] ` <20171111025801.GE16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: John MacFarlane @ 2017-11-11 2:58 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To post to this group, send email to
> > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 3. [9]https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> 931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [12]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?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-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 13. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 14. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <20171111025801.GE16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
@ 2017-11-11 3:14 ` Kyle Eggleton
[not found] ` <ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Kyle Eggleton @ 2017-11-11 3:14 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 9052 bytes --]
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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To post to this group, send email to
> > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:>
> > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 3. [9]https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> > 931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?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
> <javascript:>.
> > To post to this group, send email to
> > [12]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 10. https://groups.google.com/d/optout
> > 11. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 12. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 13.
> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 14. 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 19316 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-13 0:34 ` John MacFarlane
[not found] ` <20171113003454.GB81641-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: John MacFarlane @ 2017-11-13 0:34 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Very strange -- there's no pdflatex error, just an
indication of failure.
Next step would be to create a (very simple) tex file using
echo "Hi" | pandoc -s -t latex -o my.tex
and then try running pdflatex directly of my.tex:
pdflatex my.tex
to see what happens.
+++ Kyle Eggleton [Nov 10 17 19:14 ]:
> 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.NXDmkrZaB
> u/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/texb
> in:/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.xq
> uartz:0")
> ("SECURITYSESSIONID","186a7")
> ("_","/usr/local/bin/pandoc")
> ("OLDPWD","/Users/kyle")
> [makePDF] Contents of
> /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468/i
> nput.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][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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To post to this group, send email to
> > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To view this discussion on the web visit
> > > [3][4][2]https://groups.google.com/d/msgid/pandoc-discuss/
> > d6542d6e-931b-4855-
> > > 8673-4d0156d46121%[5][3]40googlegroups.com.
> > > For more options, visit [4][6][4]https://groups.google.
> com/
> > d/optout.
> > >
> > >References
> > >
> > > 1. mailto:[7][5]pandoc-discuss+
> unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 3. [9][6]https://groups.google.com/d/msgid/pandoc-discuss/
> d6542d6e-
> > [7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=
> > email&utm_source=footer
> > > 4. [10][8]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][9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To post to this group, send email to
> > [12][10]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> > [13][11]https://groups.google.com/d/msgid/pandoc-discuss/
> e9a5dc66-97b7-4842
> > -bc39-71f9f2a83682%[12]40googlegroups.com.
> > For more options, visit [14][13]https://groups.google.com/
> d/optout.
> >
> >References
> >
> > 1. [14]http://file.md/
> > 2. javascript:/
> > 3. javascript:/
> > 4. [15]https://groups.google.com/d/
> msgid/pandoc-discuss/d6542d6e-931b-4855-
> > 5. [16]http://40googlegroups.com/
> > 6. [17]https://groups.google.com/d/optout
> > 7. javascript:/
> > 8. javascript:/
> > 9. [18]https://groups.google.com/d/
> msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
> googlegroups.com?utm_medium=email&utm_source=footer
> > 10. [19]https://groups.google.com/d/optout
> > 11. mailto:[20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 12. mailto:[21]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 13. [22]https://groups.google.com/d/
> msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
> googlegroups.com?utm_medium=email&utm_source=footer
> > 14. [23]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 [24]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [25]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [26]https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
> -b61d-70f6c3ca6378%40googlegroups.com.
> For more options, visit [27]https://groups.google.com/d/optout.
>
>References
>
> 1. http://file.md/
> 2. https://groups.google.com/d/msgid/pandoc-discuss/
> 3. http://40googlegroups.com/
> 4. https://groups.google.com/
> 5. javascript:/
> 6. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> 7. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
> 8. https://groups.google.com/d/optout
> 9. javascript:/
> 10. javascript:/
> 11. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
> 12. http://40googlegroups.com/
> 13. https://groups.google.com/d/optout
> 14. http://file.md/
> 15. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
> 16. http://40googlegroups.com/
> 17. https://groups.google.com/d/optout
> 18. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 19. https://groups.google.com/d/optout
> 20. javascript:/
> 21. javascript:/
> 22. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 23. https://groups.google.com/d/optout
> 24. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 25. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 26. https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 27. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <20171113003454.GB81641-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
@ 2017-11-13 2:29 ` Kyle Eggleton
[not found] ` <d6d5710d-8e7e-477a-acef-062613ec460a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Kyle Eggleton @ 2017-11-13 2:29 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 13706 bytes --]
Thanks John,
I worked out the issue and it was an old symbolic link to pdflatex
(pointing at the 2015 installation) in /usr/bin/local that was causing the
problems. Deleting the symbolic link has now resulted in Pandoc 2 working
fine. Thank you for your help and appreciate everything that you have done
with Pandoc.
Kyle
On Monday, November 13, 2017 at 1:35:11 PM UTC+13, John MacFarlane wrote:
>
> Very strange -- there's no pdflatex error, just an
> indication of failure.
>
> Next step would be to create a (very simple) tex file using
>
> echo "Hi" | pandoc -s -t latex -o my.tex
>
> and then try running pdflatex directly of my.tex:
>
> pdflatex my.tex
>
> to see what happens.
>
> +++ Kyle Eggleton [Nov 10 17 19:14 ]:
> > 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.NXDmkrZaB
> > u/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/texb
> > in:/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.xq
> > uartz:0")
> > ("SECURITYSESSIONID","186a7")
> > ("_","/usr/local/bin/pandoc")
> > ("OLDPWD","/Users/kyle")
> > [makePDF] Contents of
> >
> /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468/i
> > nput.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][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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > > To post to this group, send email to
> > > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > > To view this discussion on the web visit
> > > > [3][4][2]https://groups.google.com/d/msgid/pandoc-discuss/
> > > d6542d6e-931b-4855-
> > > > 8673-4d0156d46121%[5][3]40googlegroups.com.
> > > > For more options, visit [4][6][4]https://groups.google.
> > com/
> > > d/optout.
> > > >
> > > >References
> > > >
> > > > 1. mailto:[7][5]pandoc-discuss+
> > unsub...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > > 3. [9][6]https://groups.google.com/d/msgid/pandoc-discuss/
> > d6542d6e-
> > > [7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=
> > > email&utm_source=footer
> > > > 4. [10][8]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][9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:>.
> > > To post to this group, send email to
> > > [12][10]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To view this discussion on the web visit
> > > [13][11]https://groups.google.com/d/msgid/pandoc-discuss/
> > e9a5dc66-97b7-4842
> > > -bc39-71f9f2a83682%[12]40googlegroups.com.
> > > For more options, visit [14][13]https://groups.google.com/
> > d/optout.
> > >
> > >References
> > >
> > > 1. [14]http://file.md/
> > > 2. javascript:/
> > > 3. javascript:/
> > > 4. [15]https://groups.google.com/d/
> > msgid/pandoc-discuss/d6542d6e-931b-4855-
> > > 5. [16]http://40googlegroups.com/
> > > 6. [17]https://groups.google.com/d/optout
> > > 7. javascript:/
> > > 8. javascript:/
> > > 9. [18]https://groups.google.com/d/
> > msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
> > googlegroups.com?utm_medium=email&utm_source=footer
> > > 10. [19]https://groups.google.com/d/optout
> > > 11. mailto:[20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:>
> > > 12. mailto:[21]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 13. [22]https://groups.google.com/d/
> > msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
> > googlegroups.com?utm_medium=email&utm_source=footer
> > > 14. [23]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 [24]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:>.
> > To post to this group, send email to
> > [25]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To view this discussion on the web visit
> > [26]
> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
> > -b61d-70f6c3ca6378%40googlegroups.com.
> > For more options, visit [27]https://groups.google.com/d/optout.
> >
> >References
> >
> > 1. http://file.md/
> > 2. https://groups.google.com/d/msgid/pandoc-discuss/
> > 3. http://40googlegroups.com/
> > 4. https://groups.google.com/
> > 5. javascript:/
> > 6. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> > 7. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
> > 8. https://groups.google.com/d/optout
> > 9. javascript:/
> > 10. javascript:/
> > 11. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
> > 12. http://40googlegroups.com/
> > 13. https://groups.google.com/d/optout
> > 14. http://file.md/
> > 15.
> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
> > 16. http://40googlegroups.com/
> > 17. https://groups.google.com/d/optout
> > 18.
> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 19. https://groups.google.com/d/optout
> > 20. javascript:/
> > 21. javascript:/
> > 22.
> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 23. https://groups.google.com/d/optout
> > 24. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 25. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 26.
> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 27. 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d6d5710d-8e7e-477a-acef-062613ec460a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 33720 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <d6d5710d-8e7e-477a-acef-062613ec460a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-01-04 23:44 ` Pedro Linares
[not found] ` <004aece5-4f06-4b58-9578-ef630cbe331d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Pedro Linares @ 2018-01-04 23:44 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 14339 bytes --]
Kyle, I have the same problem (I run pandoc through SublimeText), but I
don't know what to do to fix it. How did you delete the symbolic link?
Anyways, I am not sure this will work for me, since I have no previous
installations, I am installing this all in a new Mac...
Thanks,
Pedro
On Monday, November 13, 2017 at 3:29:41 AM UTC+1, Kyle Eggleton wrote:
>
> Thanks John,
>
> I worked out the issue and it was an old symbolic link to pdflatex
> (pointing at the 2015 installation) in /usr/bin/local that was causing the
> problems. Deleting the symbolic link has now resulted in Pandoc 2 working
> fine. Thank you for your help and appreciate everything that you have done
> with Pandoc.
>
> Kyle
>
> On Monday, November 13, 2017 at 1:35:11 PM UTC+13, John MacFarlane wrote:
>>
>> Very strange -- there's no pdflatex error, just an
>> indication of failure.
>>
>> Next step would be to create a (very simple) tex file using
>>
>> echo "Hi" | pandoc -s -t latex -o my.tex
>>
>> and then try running pdflatex directly of my.tex:
>>
>> pdflatex my.tex
>>
>> to see what happens.
>>
>> +++ Kyle Eggleton [Nov 10 17 19:14 ]:
>> > 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.NXDmkrZaB
>> > u/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/texb
>> > in:/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.xq
>> > uartz:0")
>> > ("SECURITYSESSIONID","186a7")
>> > ("_","/usr/local/bin/pandoc")
>> > ("OLDPWD","/Users/kyle")
>> > [makePDF] Contents of
>> >
>> /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468/i
>> > nput.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][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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > > > To post to this group, send email to
>> > > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > > > To view this discussion on the web visit
>> > > > [3][4][2]
>> https://groups.google.com/d/msgid/pandoc-discuss/
>> > > d6542d6e-931b-4855-
>> > > > 8673-4d0156d46121%[5][3]40googlegroups.com.
>> > > > For more options, visit [4][6][4]https://groups.google.
>> > com/
>> > > d/optout.
>> > > >
>> > > >References
>> > > >
>> > > > 1. mailto:[7][5]pandoc-discuss+
>> > unsub...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > > > 3. [9][6]
>> https://groups.google.com/d/msgid/pandoc-discuss/
>> > d6542d6e-
>> > > [7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=
>> > > email&utm_source=footer
>> > > > 4. [10][8]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][9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>
>> > > To post to this group, send email to
>> > > [12][10]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > > To view this discussion on the web visit
>> > > [13][11]https://groups.google.com/d/msgid/pandoc-discuss/
>> > e9a5dc66-97b7-4842
>> > > -bc39-71f9f2a83682%[12]40googlegroups.com.
>> > > For more options, visit [14][13]https://groups.google.com/
>> > d/optout.
>> > >
>> > >References
>> > >
>> > > 1. [14]http://file.md/
>> > > 2. javascript:/
>> > > 3. javascript:/
>> > > 4. [15]https://groups.google.com/d/
>> > msgid/pandoc-discuss/d6542d6e-931b-4855-
>> > > 5. [16]http://40googlegroups.com/
>> > > 6. [17]https://groups.google.com/d/optout
>> > > 7. javascript:/
>> > > 8. javascript:/
>> > > 9. [18]https://groups.google.com/d/
>> > msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
>> > googlegroups.com?utm_medium=email&utm_source=footer
>> > > 10. [19]https://groups.google.com/d/optout
>> > > 11. mailto:[20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > > 12. mailto:[21]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > > 13. [22]https://groups.google.com/d/
>> > msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
>> > googlegroups.com?utm_medium=email&utm_source=footer
>> > > 14. [23]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 [24]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To post to this group, send email to
>> > [25]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit
>> > [26]
>> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
>> > -b61d-70f6c3ca6378%40googlegroups.com.
>> > For more options, visit [27]https://groups.google.com/d/optout.
>> >
>> >References
>> >
>> > 1. http://file.md/
>> > 2. https://groups.google.com/d/msgid/pandoc-discuss/
>> > 3. http://40googlegroups.com/
>> > 4. https://groups.google.com/
>> > 5. javascript:/
>> > 6. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
>> > 7. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
>> > 8. https://groups.google.com/d/optout
>> > 9. javascript:/
>> > 10. javascript:/
>> > 11.
>> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
>> > 12. http://40googlegroups.com/
>> > 13. https://groups.google.com/d/optout
>> > 14. http://file.md/
>> > 15.
>> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
>> > 16. http://40googlegroups.com/
>> > 17. https://groups.google.com/d/optout
>> > 18.
>> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>> > 19. https://groups.google.com/d/optout
>> > 20. javascript:/
>> > 21. javascript:/
>> > 22.
>> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>> > 23. https://groups.google.com/d/optout
>> > 24. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > 25. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > 26.
>> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>> > 27. 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/004aece5-4f06-4b58-9578-ef630cbe331d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 33001 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <004aece5-4f06-4b58-9578-ef630cbe331d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-01-04 23:55 ` Pedro Linares
[not found] ` <511bcc1e-0537-46d0-a918-637bf2e769a7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Pedro Linares @ 2018-01-04 23:55 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 14865 bytes --]
Ok, I just solved it by pdf-engine=pdflatex. It somehow seems that the long
path does not work...
On Friday, January 5, 2018 at 12:44:24 AM UTC+1, Pedro Linares wrote:
>
> Kyle, I have the same problem (I run pandoc through SublimeText), but I
> don't know what to do to fix it. How did you delete the symbolic link?
> Anyways, I am not sure this will work for me, since I have no previous
> installations, I am installing this all in a new Mac...
>
> Thanks,
>
> Pedro
>
> On Monday, November 13, 2017 at 3:29:41 AM UTC+1, Kyle Eggleton wrote:
>>
>> Thanks John,
>>
>> I worked out the issue and it was an old symbolic link to pdflatex
>> (pointing at the 2015 installation) in /usr/bin/local that was causing the
>> problems. Deleting the symbolic link has now resulted in Pandoc 2 working
>> fine. Thank you for your help and appreciate everything that you have done
>> with Pandoc.
>>
>> Kyle
>>
>> On Monday, November 13, 2017 at 1:35:11 PM UTC+13, John MacFarlane wrote:
>>>
>>> Very strange -- there's no pdflatex error, just an
>>> indication of failure.
>>>
>>> Next step would be to create a (very simple) tex file using
>>>
>>> echo "Hi" | pandoc -s -t latex -o my.tex
>>>
>>> and then try running pdflatex directly of my.tex:
>>>
>>> pdflatex my.tex
>>>
>>> to see what happens.
>>>
>>> +++ Kyle Eggleton [Nov 10 17 19:14 ]:
>>> > 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.NXDmkrZaB
>>> > u/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/texb
>>> > in:/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.xq
>>> > uartz:0")
>>> > ("SECURITYSESSIONID","186a7")
>>> > ("_","/usr/local/bin/pandoc")
>>> > ("OLDPWD","/Users/kyle")
>>> > [makePDF] Contents of
>>> >
>>> /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/tex2pdf.5468/i
>>> > nput.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][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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > > > To post to this group, send email to
>>> > > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > > > To view this discussion on the web visit
>>> > > > [3][4][2]
>>> https://groups.google.com/d/msgid/pandoc-discuss/
>>> > > d6542d6e-931b-4855-
>>> > > > 8673-4d0156d46121%[5][3]40googlegroups.com.
>>> > > > For more options, visit [4][6][4]https://groups.google.
>>> > com/
>>> > > d/optout.
>>> > > >
>>> > > >References
>>> > > >
>>> > > > 1. mailto:[7][5]pandoc-discuss+
>>> > unsub...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > > > 3. [9][6]
>>> https://groups.google.com/d/msgid/pandoc-discuss/
>>> > d6542d6e-
>>> > > [7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=
>>> > > email&utm_source=footer
>>> > > > 4. [10][8]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][9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>
>>> > > To post to this group, send email to
>>> > > [12][10]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > > To view this discussion on the web visit
>>> > > [13][11]https://groups.google.com/d/msgid/pandoc-discuss/
>>> > e9a5dc66-97b7-4842
>>> > > -bc39-71f9f2a83682%[12]40googlegroups.com.
>>> > > For more options, visit [14][13]https://groups.google.com/
>>> > d/optout.
>>> > >
>>> > >References
>>> > >
>>> > > 1. [14]http://file.md/
>>> > > 2. javascript:/
>>> > > 3. javascript:/
>>> > > 4. [15]https://groups.google.com/d/
>>> > msgid/pandoc-discuss/d6542d6e-931b-4855-
>>> > > 5. [16]http://40googlegroups.com/
>>> > > 6. [17]https://groups.google.com/d/optout
>>> > > 7. javascript:/
>>> > > 8. javascript:/
>>> > > 9. [18]https://groups.google.com/d/
>>> > msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
>>> > googlegroups.com?utm_medium=email&utm_source=footer
>>> > > 10. [19]https://groups.google.com/d/optout
>>> > > 11. mailto:[20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > > 12. mailto:[21]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > > 13. [22]https://groups.google.com/d/
>>> > msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
>>> > googlegroups.com?utm_medium=email&utm_source=footer
>>> > > 14. [23]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 [24]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > To post to this group, send email to
>>> > [25]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > To view this discussion on the web visit
>>> > [26]
>>> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
>>> > -b61d-70f6c3ca6378%40googlegroups.com.
>>> > For more options, visit [27]https://groups.google.com/d/optout.
>>> >
>>> >References
>>> >
>>> > 1. http://file.md/
>>> > 2. https://groups.google.com/d/msgid/pandoc-discuss/
>>> > 3. http://40googlegroups.com/
>>> > 4. https://groups.google.com/
>>> > 5. javascript:/
>>> > 6. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
>>> > 7. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
>>> > 8. https://groups.google.com/d/optout
>>> > 9. javascript:/
>>> > 10. javascript:/
>>> > 11.
>>> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
>>> > 12. http://40googlegroups.com/
>>> > 13. https://groups.google.com/d/optout
>>> > 14. http://file.md/
>>> > 15.
>>> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
>>> > 16. http://40googlegroups.com/
>>> > 17. https://groups.google.com/d/optout
>>> > 18.
>>> https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>> > 19. https://groups.google.com/d/optout
>>> > 20. javascript:/
>>> > 21. javascript:/
>>> > 22.
>>> https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>> > 23. https://groups.google.com/d/optout
>>> > 24. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > 25. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> > 26.
>>> https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>> > 27. 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/511bcc1e-0537-46d0-a918-637bf2e769a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 33320 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: pdf-engine pdflatex not known
[not found] ` <511bcc1e-0537-46d0-a918-637bf2e769a7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-01-05 1:38 ` John MACFARLANE
0 siblings, 0 replies; 11+ messages in thread
From: John MACFARLANE @ 2018-01-05 1:38 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
One thing that might be worth trying: use the full path
again, but add --trace. This will give you some diagnostic
output that might be revealing.
+++ Pedro Linares [Jan 04 18 15:55 ]:
> Ok, I just solved it by pdf-engine=pdflatex. It somehow seems that the
> long path does not work...
> On Friday, January 5, 2018 at 12:44:24 AM UTC+1, Pedro Linares wrote:
>
> Kyle, I have the same problem (I run pandoc through SublimeText), but I
> don't know what to do to fix it. How did you delete the symbolic link?
> Anyways, I am not sure this will work for me, since I have no previous
> installations, I am installing this all in a new Mac...
> Thanks,
> Pedro
> On Monday, November 13, 2017 at 3:29:41 AM UTC+1, Kyle Eggleton wrote:
>
> Thanks John,
> I worked out the issue and it was an old symbolic link to pdflatex
> (pointing at the 2015 installation) in /usr/bin/local that was causing
> the problems. Deleting the symbolic link has now resulted in Pandoc 2
> working fine. Thank you for your help and appreciate everything that
> you have done with Pandoc.
> Kyle
> On Monday, November 13, 2017 at 1:35:11 PM UTC+13, John MacFarlane
> wrote:
>
> Very strange -- there's no pdflatex error, just an
> indication of failure.
> Next step would be to create a (very simple) tex file using
> echo "Hi" | pandoc -s -t latex -o my.tex
> and then try running pdflatex directly of my.tex:
> pdflatex my.tex
> to see what happens.
> +++ Kyle Eggleton [Nov 10 17 19:14 ]:
> > Have done as you suggested. Here is the verbose log:
> > mpholt55:Desktop kyle$ pandoc -r markdown --pdf-engine=pdflatex
> > [1]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.NXDmkrZaB
> > u/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/texb
> > in:/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.xq
> > uartz:0")
> > ("SECURITYSESSIONID","186a7")
> > ("_","/usr/local/bin/pandoc")
> > ("OLDPWD","/Users/kyle")
> > [makePDF] Contents of
> > /private/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/
> tex2pdf.5468/i
> > nput.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][1][2]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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > > To post to this group, send email to
> > > > [2][3]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > > To view this discussion on the web visit
> > > > [3][4][2][3]https://groups.
> google.com/d/msgid/pandoc-discuss/
> > > d6542d6e-931b-4855-
> > > > 8673-4d0156d46121%[5][3][4]40googlegroups.com.
> > > > For more options, visit
> [4][6][4][5]https://groups.google.
> > com/
> > > d/optout.
> > > >
> > > >References
> > > >
> > > > 1. mailto:[7][5]pandoc-discuss+
> > unsub...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > > 2. mailto:[8]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > > 3. [9][6][6]https://groups.google.
> com/d/msgid/pandoc-discuss/
> > d6542d6e-
> > > [7][7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?
> utm_medium=
> > > email&utm_source=footer
> > > > 4. [10][8][8]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][9]pandoc-discuss+
> unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To post to this group, send email to
> > > [12][10]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To view this discussion on the web visit
> > > [13][11][9]https://groups.google.
> com/d/msgid/pandoc-discuss/
> > e9a5dc66-97b7-4842
> > > -bc39-71f9f2a83682%[12][10]40googlegroups.com.
> > > For more options, visit [14][13][11]https://groups.google.
> com/
> > d/optout.
> > >
> > >References
> > >
> > > 1. [14][12]http://file.md/
> > > 2. javascript:/
> > > 3. javascript:/
> > > 4. [15][13]https://groups.google.com/d/
> > msgid/pandoc-discuss/d6542d6e-931b-4855-
> > > 5. [16][14]http://40googlegroups.com/
> > > 6. [17][15]https://groups.google.com/d/optout
> > > 7. javascript:/
> > > 8. javascript:/
> > > 9. [18][16]https://groups.google.com/d/
> > msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
> > [17]googlegroups.com?utm_medium=email&utm_source=footer
> > > 10. [19][18]https://groups.google.com/d/optout
> > > 11. mailto:[20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 12. mailto:[21]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > 13. [22][19]https://groups.google.com/d/
> > msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
> > [20]googlegroups.com?utm_medium=email&utm_source=footer
> > > 14. [23][21]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 [24]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To post to this group, send email to
> > [25]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> > [26][22]https://groups.google.com/d/msgid/pandoc-discuss/
> ac0af97c-47b8-4897
> > -b61d-70f6c3ca6378%[23]40googlegroups.com.
> > For more options, visit [27][24]https://groups.google.com/
> d/optout.
> >
> >References
> >
> > 1. [25]http://file.md/
> > 2. [26]https://groups.google.com/d/msgid/pandoc-discuss/
> > 3. [27]http://40googlegroups.com/
> > 4. [28]https://groups.google.com/
> > 5. javascript:/
> > 6. [29]https://groups.google.com/d/
> msgid/pandoc-discuss/d6542d6e-
> > 7. [30]http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/
> ?utm_medium=
> > 8. [31]https://groups.google.com/d/optout
> > 9. javascript:/
> > 10. javascript:/
> > 11. [32]https://groups.google.com/d/
> msgid/pandoc-discuss/e9a5dc66-97b7-4842
> > 12. [33]http://40googlegroups.com/
> > 13. [34]https://groups.google.com/d/optout
> > 14. [35]http://file.md/
> > 15. [36]https://groups.google.com/d/
> msgid/pandoc-discuss/d6542d6e-931b-4855-
> > 16. [37]http://40googlegroups.com/
> > 17. [38]https://groups.google.com/d/optout
> > 18. [39]https://groups.google.com/d/
> msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121@
> googlegroups.com?utm_medium=email&utm_source=footer
> > 19. [40]https://groups.google.com/d/optout
> > 20. javascript:/
> > 21. javascript:/
> > 22. [41]https://groups.google.com/d/
> msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682@
> googlegroups.com?utm_medium=email&utm_source=footer
> > 23. [42]https://groups.google.com/d/optout
> > 24. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 25. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > 26. [43]https://groups.google.com/d/
> msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378@
> googlegroups.com?utm_medium=email&utm_source=footer
> > 27. [44]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 [45]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [46]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [47]https://groups.google.com/d/msgid/pandoc-discuss/511bcc1e-0537-46d0
> -a918-637bf2e769a7%40googlegroups.com.
> For more options, visit [48]https://groups.google.com/d/optout.
>
>References
>
> 1. http://trial.md/
> 2. http://file.md/
> 3. https://groups.google.com/d/msgid/pandoc-discuss/
> 4. http://40googlegroups.com/
> 5. https://groups.google/
> 6. https://groups.google.com/d/msgid/pandoc-discuss/
> 7. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
> 8. https://groups.google.com/d/optout
> 9. https://groups.google.com/d/msgid/pandoc-discuss/
> 10. http://40googlegroups.com/
> 11. https://groups.google.com/
> 12. http://file.md/
> 13. https://groups.google.com/d/
> 14. http://40googlegroups.com/
> 15. https://groups.google.com/d/optout
> 16. https://groups.google.com/d/
> 17. http://googlegroups.com/?utm_medium=email&utm_source=footer
> 18. https://groups.google.com/d/optout
> 19. https://groups.google.com/d/
> 20. http://googlegroups.com/?utm_medium=email&utm_source=footer
> 21. https://groups.google.com/d/optout
> 22. https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
> 23. http://40googlegroups.com/
> 24. https://groups.google.com/d/optout
> 25. http://file.md/
> 26. https://groups.google.com/d/msgid/pandoc-discuss/
> 27. http://40googlegroups.com/
> 28. https://groups.google.com/
> 29. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-
> 30. http://931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=
> 31. https://groups.google.com/d/optout
> 32. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
> 33. http://40googlegroups.com/
> 34. https://groups.google.com/d/optout
> 35. http://file.md/
> 36. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-
> 37. http://40googlegroups.com/
> 38. https://groups.google.com/d/optout
> 39. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 40. https://groups.google.com/d/optout
> 41. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 42. https://groups.google.com/d/optout
> 43. https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 44. https://groups.google.com/d/optout
> 45. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 46. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 47. https://groups.google.com/d/msgid/pandoc-discuss/511bcc1e-0537-46d0-a918-637bf2e769a7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 48. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-01-05 1:38 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-11 0:28 pdf-engine pdflatex not known Kyle Eggleton
[not found] ` <d6542d6e-931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-11 2:30 ` Kyle Eggleton
2017-11-11 2:38 ` John MacFarlane
[not found] ` <20171111023832.GA16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
2017-11-11 2:48 ` Kyle Eggleton
[not found] ` <e9a5dc66-97b7-4842-bc39-71f9f2a83682-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-11 2:58 ` John MacFarlane
[not found] ` <20171111025801.GE16934-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
2017-11-11 3:14 ` Kyle Eggleton
[not found] ` <ac0af97c-47b8-4897-b61d-70f6c3ca6378-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-13 0:34 ` John MacFarlane
[not found] ` <20171113003454.GB81641-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-13 2:29 ` Kyle Eggleton
[not found] ` <d6d5710d-8e7e-477a-acef-062613ec460a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-04 23:44 ` Pedro Linares
[not found] ` <004aece5-4f06-4b58-9578-ef630cbe331d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-04 23:55 ` Pedro Linares
[not found] ` <511bcc1e-0537-46d0-a918-637bf2e769a7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-05 1:38 ` John MACFARLANE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).