public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Martin Eiermann
	<martin.eiermann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: pandoc pdflatex conversion on M1 Mac
Date: Thu, 29 Jul 2021 15:49:56 -0600	[thread overview]
Message-ID: <m2tukciyd7.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <ac5031b1-d802-4f83-927a-eaadf1a0a035n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Pandoc will look for pdflatex in your PATH.
So, just make sure that /Library/TeX/texbin is in your PATH.
If `which pdflatex` doesn't find it, then pandoc won't either.

Martin Eiermann <martin.eiermann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I just upgraded to a new Mac with M1 chip and OS X 11.4. I'm writing mostly 
> in Atom, then using pandoc to convert Markdown/LaTeX outputs to PDF. But I 
> now get the following error: 
>
> *pandoc: pdflatex not found. pdflatex is needed for pdf output.*
>
> I installed (and re-installed) the latest 2021 release of BasicTeX, but 
> pdflatex doesn't appear in the terminal:
>
> *pdflatex -- version *
> *zsh: command not found: pdflatex *
>
> But pdflatex is in /Library/TeX/texbin/. And I can also manually locate it 
> in the terminal: 
>
> *locate pdflatex 
> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/tests/baseline_images/test_backend_pgf/pgf_pdflatex.pdf 
> /usr/local/texlive/2021basic/bin/universal-darwin/pdflatex 
> /usr/local/texlive/2021basic/texmf-dist/tex/latex/latexconfig/pdflatex.ini 
> /usr/local/texlive/2021basic/texmf-var/web2c/pdftex/pdflatex.fmt 
> /usr/local/texlive/2021basic/texmf-var/web2c/pdftex/pdflatex.log*
>
> Is pandoc looking for pdflatex in the wrong directory? I'm a bit out of my 
> comfort zone here, so any advice is much appreciated. Many thanks! 
>
> Martin
>
>
> -- 
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ac5031b1-d802-4f83-927a-eaadf1a0a035n%40googlegroups.com.


  parent reply	other threads:[~2021-07-29 21:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 17:54 Martin Eiermann
     [not found] ` <ac5031b1-d802-4f83-927a-eaadf1a0a035n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-29 17:56   ` AW: " denis.maier-NSENcxR/0n0
2021-07-29 21:49   ` John MacFarlane [this message]
     [not found]     ` <m2tukciyd7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-07-29 21:59       ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2tukciyd7.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=martin.eiermann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).