From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19132 Path: news.gmane.org!.POSTED!not-for-mail From: Pedro Linares Newsgroups: gmane.text.pandoc Subject: Re: pdf-engine pdflatex not known Date: Thu, 4 Jan 2018 15:44:24 -0800 (PST) Message-ID: <004aece5-4f06-4b58-9578-ef630cbe331d@googlegroups.com> References: <20171111023832.GA16934@MacBook-Air-2.local> <20171111025801.GE16934@MacBook-Air-2.local> <20171113003454.GB81641@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3111_525311779.1515109464551" X-Trace: blaine.gmane.org 1515109355 21424 195.159.176.226 (4 Jan 2018 23:42:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 23:42:35 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCZ7XFNS7UARBWPYXLJAKGQELS6XHKA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 05 00:42:31 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f192.google.com ([74.125.82.192]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXF9S-0004lw-WC for gtp-pandoc-discuss@m.gmane.org; Fri, 05 Jan 2018 00:42:23 +0100 Original-Received: by mail-ot0-f192.google.com with SMTP id v20sf1582437oth.2 for ; Thu, 04 Jan 2018 15:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=g7kBz750q5Xk1+AeaDPnI6Y6u83zbRX1xOvjjuYqDBQ=; b=O5rAnbVKmxEvjq0pFJke0QLC23XKBzhTNF28w8v3cttGESttHpLaeDCBdAYaUhKqkK yl2Z2J1WfnE4vmv2yIMV0+ZaQ9II4WeqEurz+Cou72gXQEllFTAdAu6N9spBlzt4Sugq NJd6iIRJJZpcwZpVVlOuo+INt9JrlYOkWpwtKDAkzWWMaqIQG9D1t4AHqnc5OK+zBkR2 UFQaXUVkXlOrwqXOOb7SLx7CCbOkzevnGohM9FS4RXJ+dT1AwBzwzAYBb+Gh7p+yVzdH neb1xO6dNo5WAniIDgzpDUhys/IOhpwRTvF2mHJNhYRfgNQMFJdJPHheWw4hSZ2X5E9y LzbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=g7kBz750q5Xk1+AeaDPnI6Y6u83zbRX1xOvjjuYqDBQ=; b=JhEu7gutH2ZW3au99XFYiZuYj4OamRyQrppa/w6PaC4rr7fuQJ5OjfxK29vEUiUim/ tPcJgiYEaGZnrEi+h+8dodnjqqJv8gjzr/VayxljU6f5ft/c3gJk/q9NBD+9+cm2AKnJ OztQTiPAV9TTVdpN0qOwx5uUa9Hvz3byP7dXGGDHJk2PWeArTfLlmpqgy0ZFbAJS8Kyv Aci1gdBHZv809+Jh1c6gaeOikQnfQ3xn1NtY+mIeOFdF9WPAkflUDUkXqs+KnKN4P0Yd tHDOafg44pHXGDUs/GJ8rQIPeXHEL6S9l6WGA0+1kOmenYj8LJ88niLcVVmLR/39Hqwp gfcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=g7kBz750q5Xk1+AeaDPnI6Y6u83zbRX1xOvjjuYqDBQ=; b=rF7s4rpnOYjSCgm0jML+ydED024pQ+9tIrtHFF3XHdfKRm7iZKFy30rUKh48CU5eNC s3rs70s7pfHSeqjmYF3X8MeNqBHQebpU3uQHYhCtTOdy/Lrrn7QIGRP1LDeUYv9R7KT+ PKO5hfEHqCxYLBHN5fzRBXWR8SVAdZxsiz5EJh7rhnNbnZ/QbdbaLAv2sX3zqH7LeUyk 0P9VjpIoXmCcFSEOTPFqo0ny8C2OumlGU61hUd98YY7It659+ek6j7MgnFKuDXPQHkcO iqYWp4cgHw1edR3MGiry5bJjMenCfxp5dKTZM9WJQPVZ8V52C1XZ2m0KaYsUJ3K5/GoI 9EVw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKwxyteKYF8d3oHHgLw1YDBY6yLCgB7O2t2jgc+oHEyossQ03gAbRI45 +ToHMnV5qvd7boKu72blovE= X-Google-Smtp-Source: ACJfBovePRXqyi88+I6l/H2kQyY0Ye1T+tNrstZozcHsyuzz1edIgAhkV5Tfp0bUII43bDqNiZtx9w== X-Received: by 10.157.53.9 with SMTP id o9mr53752otc.9.1515109466171; Thu, 04 Jan 2018 15:44:26 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.75.9 with SMTP id y9ls307010oia.16.gmail; Thu, 04 Jan 2018 15:44:25 -0800 (PST) X-Received: by 10.157.81.198 with SMTP id d6mr53960oth.6.1515109465040; Thu, 04 Jan 2018 15:44:25 -0800 (PST) In-Reply-To: X-Original-Sender: pedro.linares-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19132 Archived-At: ------=_Part_3111_525311779.1515109464551 Content-Type: multipart/alternative; boundary="----=_Part_3112_1839238019.1515109464553" ------=_Part_3112_1839238019.1515109464553 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_3112_1839238019.1515109464553 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Kyle, I have the same problem (I run pandoc through Sublim= eText), but I don't know what to do to fix it. How did you delete the s= ymbolic 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...

<= /div>
Thanks,

Pedro

On Monday, November= 13, 2017 at 3:29:41 AM UTC+1, Kyle Eggleton wrote:
Thanks John,=C2=A0

I worked out the issue and it was an old symbolic link to pdflatex (pointi= ng at the 2015 installation) in /usr/bin/local that was causing the problem= s. Deleting the symbolic link has now resulted in Pandoc 2 working fine. Th= ank you for your help and appreciate everything that you have done with Pan= doc.

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 ]:
> =C2=A0 Have done as you suggested. Here is the verbose log:
> =C2=A0 mpholt55:Desktop kyle$ pandoc -r markdown --pdf-engine=3Dpd= flatex
> =C2=A0 trial.md -o trial.pdf --v= erbose
> =C2=A0 [makePDF] temp dir:
> =C2=A0 /private/var/folders/65/gpz82csd1_s358m496fk0ff5l= mh3lj/T/tex2pdf.5468
> =C2=A0 [makePDF] Command line:
> =C2=A0 pdflatex "-halt-on-error" "-interaction"= ; "nonstopmode"
> =C2=A0 "-output-directory"
> =C2=A0 "/private/var/folders/65/gpz82csd1_s358m496f= k0ff5lmh3lj/T/tex2pdf.5468"
> =C2=A0 "/private/var/folders/65/gpz82csd1_s358m496f= k0ff5lmh3lj/T/tex2pdf.5468/
> =C2=A0 input.tex"
> =C2=A0 [makePDF] Environment:
> =C2=A0 ("TEXINPUTS","/private/var/folders/65/g= pz82csd1_s358m496fk0ff5lmh3lj/T/
> =C2=A0 tex2pdf.5468:")
> =C2=A0 ("TERM_PROGRAM","Apple_Terminal")
> =C2=A0 ("SHELL","/bin/bash")
> =C2=A0 ("TERM","xterm-256color")
> =C2=A0 ("TMPDIR","/var/folders/65/gpz82csd1_s358m496fk0ff5lmh3lj/T/")
> =C2=A0 ("Apple_PubSub_Socket_Render","/private= /tmp/com.apple.launchd.NXDmkrZaB
> =C2=A0 u/Render")
> =C2=A0 ("TERM_PROGRAM_VERSION","388.1.1")
> =C2=A0 ("TERM_SESSION_ID","8FB45A14-DCBD-467E-= 8CAA-212CFEB01C0F")
> =C2=A0 ("USER","kyle")
> =C2=A0 ("SSH_AUTH_SOCK","/private/tmp/com.appl= e.launchd.CJLCVbzkwg/Listeners")
> =C2=A0 ("__CF_USER_TEXT_ENCODING","0x67480E71:= 0x0:0x2")
> =C2=A0 ("PATH","/usr/local/bin:/usr/bin:/bin:/= usr/sbin:/sbin:/Library/TeX/texb
> =C2=A0 in:/opt/X11/bin")
> =C2=A0 ("PWD","/Users/kyle/Desktop")
> =C2=A0 ("LANG","en_NZ.UTF-8")
> =C2=A0 ("XPC_FLAGS","0x0")
> =C2=A0 ("XPC_SERVICE_NAME","0")
> =C2=A0 ("SHLVL","1")
> =C2=A0 ("HOME","/Users/kyle")
> =C2=A0 ("LOGNAME","kyle")
> =C2=A0 ("DISPLAY","/private/tmp/com.apple.laun= chd.2MooiJHYB4/org.macosforge.xq
> =C2=A0 uartz:0")
> =C2=A0 ("SECURITYSESSIONID","186a7")
> =C2=A0 ("_","/usr/local/bin/pandoc")
> =C2=A0 ("OLDPWD","/Users/kyle")
> =C2=A0 [makePDF] Contents of
> =C2=A0 /private/var/folders/65/gpz82csd1_s358m496fk0ff5l= mh3lj/T/tex2pdf.5468/i
> =C2=A0 nput.tex:
> =C2=A0 \PassOptionsToPackage{unicode=3Dtrue}{hyperref} % opti= ons for packages
> =C2=A0 loaded elsewhere
> =C2=A0 \PassOptionsToPackage{hyphens}{url}
> =C2=A0 %
> =C2=A0 \documentclass[]{article}
> =C2=A0 \usepackage{lmodern}
> =C2=A0 \usepackage{amssymb,amsmath}
> =C2=A0 \usepackage{ifxetex,ifluatex}
> =C2=A0 \usepackage{fixltx2e} % provides \textsubscript
> =C2=A0 \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=3D0 % if pdftex
> =C2=A0 =C2=A0 \usepackage[T1]{fontenc}
> =C2=A0 =C2=A0 \usepackage[utf8]{inputenc}
> =C2=A0 =C2=A0 \usepackage{textcomp} % provides euro and other symb= ols
> =C2=A0 \else % if luatex or xelatex
> =C2=A0 =C2=A0 \usepackage{unicode-math}
> =C2=A0 =C2=A0 \defaultfontfeatures{Ligatures=3DTeX,Scale=3DMatchLowercase}
> =C2=A0 \fi
> =C2=A0 % use upquote if available, for straight quotes in verbatim
> =C2=A0 environments
> =C2=A0 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
> =C2=A0 % use microtype if available
> =C2=A0 \IfFileExists{microtype.sty}{%
> =C2=A0 \usepackage[]{microtype}
> =C2=A0 \UseMicrotypeSet[protrusion]{basicmath} % disable prot= rusion for tt
> =C2=A0 fonts
> =C2=A0 }{}
> =C2=A0 \IfFileExists{parskip.sty}{%
> =C2=A0 \usepackage{parskip}
> =C2=A0 }{% else
> =C2=A0 \setlength{\parindent}{0pt}
> =C2=A0 \setlength{\parskip}{6pt plus 2pt minus 1pt}
> =C2=A0 }
> =C2=A0 \usepackage{hyperref}
> =C2=A0 \hypersetup{
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pdfborder=3D{0 0 = 0},
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 breaklinks=3Dtrue= }
> =C2=A0 \urlstyle{same} =C2=A0% don't use monospace font for ur= ls
> =C2=A0 \setlength{\emergencystretch}{3em} =C2=A0% prevent ove= rfull lines
> =C2=A0 \providecommand{\tightlist}{%
> =C2=A0 =C2=A0 \setlength{\itemsep}{0pt}\setlength{\parskip}{0= pt}}
> =C2=A0 \setcounter{secnumdepth}{0}
> =C2=A0 % Redefines (sub)paragraphs to behave more like sections
> =C2=A0 \ifx\paragraph\undefined\else
> =C2=A0 \let\oldparagraph\paragraph
> =C2=A0 \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
> =C2=A0 \fi
> =C2=A0 \ifx\subparagraph\undefined\else
> =C2=A0 \let\oldsubparagraph\subparagraph
> =C2=A0 \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\m= box{}}
> =C2=A0 \fi
> =C2=A0 % set default figure placement to htbp
> =C2=A0 \makeatletter
> =C2=A0 \def\fps@figure{htbp}
> =C2=A0 \makeatother
> =C2=A0 \date{}
> =C2=A0 \begin{document}
> =C2=A0 Hi
> =C2=A0 \end{document}
> =C2=A0 [makePDF] Run #1
> =C2=A0 [makePDF] Run #2
> =C2=A0 [makePDF] Run #3
> =C2=A0 Error producing PDF.
> =C2=A0 On Saturday, November 11, 2017 at 3:58:18 PM UTC+13, John M= acFarlane
> =C2=A0 wrote:
>
> =C2=A0 =C2=A0 You only provided part of the log (and I didn't = see any
> =C2=A0 =C2=A0 error messages). =C2=A0Try converting with --pdf-eng= ine=3Dpdflatex
> =C2=A0 =C2=A0 and a really simple input file like ("*hi*"= ;).
> =C2=A0 =C2=A0 If it succeeds with the simple file, then the proble= m has
> =C2=A0 =C2=A0 to do with the content in your file. =C2=A0In this c= ase we'd
> =C2=A0 =C2=A0 need to see more of the verbose log.
> =C2=A0 =C2=A0 +++ Kyle Eggleton [Nov 10 17 18:48 ]:
> =C2=A0 =C2=A0 > =C2=A0 Hi John. Thanks for getting back. I have= tried both - yes
> =C2=A0 =C2=A0 pdflatex is
> =C2=A0 =C2=A0 > =C2=A0 executable at /Libary/TeX/Root/bin/x86_6= 4-darwin/pdflatex and at
> =C2=A0 =C2=A0 the
> =C2=A0 =C2=A0 > =C2=A0 new Tex-2017 installation at /Library/Te= x/texbin. Yes I have
> =C2=A0 =C2=A0 tried
> =C2=A0 =C2=A0 > =C2=A0 putting pdf-engine=3Dpdflatex in the com= mand and this produces the
> =C2=A0 =C2=A0 error
> =C2=A0 =C2=A0 > =C2=A0 message "Error producing PDF" = with no other details. The verbose
> =C2=A0 =C2=A0 log is
> =C2=A0 =C2=A0 > =C2=A0 attached above.
> =C2=A0 =C2=A0 > =C2=A0 On Saturday, November 11, 2017 at 3:38:4= 9 PM UTC+13, John
> =C2=A0 =C2=A0 MacFarlane
> =C2=A0 =C2=A0 > =C2=A0 wrote:
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 Have you verified that you have a= n executable file at
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 /Library/TeX/Root/bin/x86_64-darwin/pdflatex ?
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 If pdflatex is in your path, can = you try just
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 --pdf-engine=3Dpdflatex ?
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 +++ Kyle Eggleton [Nov 10 17 16:2= 8 ]:
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 Hi, I have just updat= ed to pandoc 2.0.1.1 on my Mac
> =C2=A0 =C2=A0 running
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 MacOS
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 10.12.6 and since upd= ating I have been unable to generate
> =C2=A0 =C2=A0 PDFs.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 The
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 error message that I = am getting is pdf-engine
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 /Library/Tex/Root/bin= /x86-64-darwin/pdflatex not known.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 My command is: pandoc= -r markdown -markdown+smart -N
> =C2=A0 =C2=A0 --filter
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 /usr/local/bin/pandoc= -crossref --filter
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 /usr/local/bin/pandoc-citeproc
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 --pdf-engine=3D/Libra= ry/TeX/Root/bin/x86_64-darwin/pdflatex
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 --template=3D/Users/k= yle/Documents/IT/Pandoc/templates/
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 thesis.latex
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 [1][1]file.md -o file.pdf
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 This command was work= ing fine prior to updating to the new
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 version of
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 Pandoc (noting that t= he old command included
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 --latex-engine=3Dpath= /to/pdflatex rather than
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 pdf-engine=3Dpath/to/= pdflatex)
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 I have verified that = I have the correct path to pdflatex.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 --
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 You received this mes= sage because you are subscribed to
> =C2=A0 =C2=A0 the
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 Google
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 Groups "pandoc-d= iscuss" group.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 To unsubscribe from t= his group and stop receiving emails
> =C2=A0 =C2=A0 from
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 it, send
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 an email to [1][2]= pandoc-discus...@googlegroups.com.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 To post to this group= , send email to
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 [2][3]pandoc-...@g= ooglegroups.com.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 To view this discussi= on on the web visit
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 [3][4][2]https://groups.= google.com/d/msgid/pandoc-discuss/
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 d6542d6e-931b-4855-
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 8673-4d0156d46121%[5]= [3]40googl= egroups.com.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 For more options, vis= it [4][6][4]https://group= s.google.
> =C2=A0 =C2=A0 com/
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 d/optout.
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 >References
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 1. mailto:[7][5]pando= c-discuss+
> =C2=A0 =C2=A0 unsub...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 2. mailto:[8]pando= c-...@googlegroups.com
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 3. [9][6]https://groups.= google.com/d/msgid/pandoc-discuss/
> =C2=A0 =C2=A0 d6542d6e-
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 [7]931b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_m= edium=3D
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 email&utm_source=3Dfooter
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 4. [10][8]https://groups.google.com/d/optout
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 --
> =C2=A0 =C2=A0 > =C2=A0 You received this message because you ar= e subscribed to the
> =C2=A0 =C2=A0 Google
> =C2=A0 =C2=A0 > =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 =C2=A0 > =C2=A0 To unsubscribe from this group and stop = receiving emails from
> =C2=A0 =C2=A0 it, send
> =C2=A0 =C2=A0 > =C2=A0 an email to [11][9]p= andoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> =C2=A0 =C2=A0 > =C2=A0 To post to this group, send email to
> =C2=A0 =C2=A0 > =C2=A0 [12][10]pandoc-...@googlegroups.= com.
> =C2=A0 =C2=A0 > =C2=A0 To view this discussion on the web visit
> =C2=A0 =C2=A0 > =C2=A0 [13][11]https://groups.google.com/d/msgi= d/pandoc-discuss/
> =C2=A0 =C2=A0 e9a5dc66-97b7-4842
> =C2=A0 =C2=A0 > =C2=A0 -bc39-71f9f2a83682%[12]40googlegroups.com.
> =C2=A0 =C2=A0 > =C2=A0 For more options, visit [14][13]https:= //groups.google.com/
> =C2=A0 =C2=A0 d/optout.
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >References
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 1. [14]http://file.md/
> =C2=A0 =C2=A0 > =C2=A0 2. javascript:/
> =C2=A0 =C2=A0 > =C2=A0 3. javascript:/
> =C2=A0 =C2=A0 > =C2=A0 4. [15]https://groups.google.com/= d/
> =C2=A0 =C2=A0 msgid/pandoc-discuss/d6542d6e-931b-4855-
> =C2=A0 =C2=A0 > =C2=A0 5. [16]http://40googlegroups.com/
> =C2=A0 =C2=A0 > =C2=A0 6. [17]https:= //groups.google.com/d/optout
> =C2=A0 =C2=A0 > =C2=A0 7. javascript:/
> =C2=A0 =C2=A0 > =C2=A0 8. javascript:/
> =C2=A0 =C2=A0 > =C2=A0 9. [18]https://groups.google.com/= d/
> =C2=A0 =C2=A0 msgid/pandoc-discuss/d6542d6e-931b-4855-8673-4d= 0156d46121@
> =C2=A0 =C2=A0 go= oglegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> =C2=A0 =C2=A0 > =C2=A010. [19]https:= //groups.google.com/d/optout
> =C2=A0 =C2=A0 > =C2=A011. mailto:[20]pandoc= -discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 =C2=A0 > =C2=A012. mailto:[21]pandoc-...@googleg= roups.com
> =C2=A0 =C2=A0 > =C2=A013. [22]https://groups.google.com/= d/
> =C2=A0 =C2=A0 msgid/pandoc-discuss/e9a5dc66-97b7-4842-bc39-71= f9f2a83682@
> =C2=A0 =C2=A0 go= oglegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> =C2=A0 =C2=A0 > =C2=A014. [23]https:= //groups.google.com/d/optout
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [24]pandoc-discuss+uns= ubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> =C2=A0 To post to this group, send email to
> =C2=A0 [25]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [26]
https:= //groups.google.com/d/msgid/pandoc-discuss/ac0af97c-47b8-4897
> =C2=A0 -b61d-70f6c3ca6378%40googlegroups.com.
> =C2=A0 For more options, visit [27]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. http://file.md/
> =C2=A0 2. https://groups.google.com/d/msgid/pandoc-discuss/
> =C2=A0 3. http://40googlegroups.com/
> =C2=A0 4. https://groups.google.com/
> =C2=A0 5. javascript:/
> =C2=A0 6. https://groups.google.com/d/= msgid/pandoc-discuss/d6542d6e-
> =C2=A0 7. http://9= 31b-4855-8673-4d0156d46121-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org/?utm_medium=3D
> =C2=A0 8. https://groups.google.com/d/optout
> =C2=A0 9. javascript:/
> =C2=A010. javascript:/
> =C2=A011. https:/= /groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-97b7-4842
> =C2=A012. http://40googlegroups.com/
> =C2=A013. https://groups.google.com/d/optout
> =C2=A014. http://file.md/
> =C2=A015. http= s://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-931b-4855-<= /a>
> =C2=A016.
http://40googlegroups.com/
> =C2=A017. https://groups.google.com/d/optout
> =C2=A018. https://groups.google.com/d/msgid/pandoc-discuss/d6542d6e-9= 31b-4855-8673-4d0156d46121@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A019. https://groups.google.com/d/optout
> =C2=A020. javascript:/
> =C2=A021. javascript:/
> =C2=A022. https://groups.google.com/d/msgid/pandoc-discuss/e9a5dc66-9= 7b7-4842-bc39-71f9f2a83682@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A023. https://groups.google.com/d/optout
> =C2=A024. mailto:pandoc-discuss+unsubscri= be-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A025. mailto:pandoc-...@googlegroups.= com
> =C2=A026. https://groups.google.com/d/msgid/pandoc-discuss/ac0af97c-4= 7b8-4897-b61d-70f6c3ca6378@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A027. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/004aece5-4f06-4b58-9578-ef630cbe331d%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3112_1839238019.1515109464553-- ------=_Part_3111_525311779.1515109464551--