public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc pdflatex conversion on M1 Mac
@ 2021-07-29 17:54 Martin Eiermann
       [not found] ` <ac5031b1-d802-4f83-927a-eaadf1a0a035n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Eiermann @ 2021-07-29 17:54 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1514 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1960 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: pandoc pdflatex conversion on M1 Mac
       [not found] ` <ac5031b1-d802-4f83-927a-eaadf1a0a035n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-07-29 17:56   ` denis.maier-NSENcxR/0n0
  2021-07-29 21:49   ` John MacFarlane
  1 sibling, 0 replies; 4+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2021-07-29 17:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2504 bytes --]

I think there’s been a similar question a few days ago...

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Martin Eiermann
Gesendet: Donnerstag, 29. Juli 2021 19:54
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: pandoc pdflatex conversion on M1 Mac

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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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<https://groups.google.com/d/msgid/pandoc-discuss/ac5031b1-d802-4f83-927a-eaadf1a0a035n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/1c6d82ec990742309568679f4d540540%40unibe.ch.

[-- Attachment #2: Type: text/html, Size: 5432 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pandoc pdflatex conversion on M1 Mac
       [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
       [not found]     ` <m2tukciyd7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2021-07-29 21:49 UTC (permalink / raw)
  To: Martin Eiermann, pandoc-discuss


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pandoc pdflatex conversion on M1 Mac
       [not found]     ` <m2tukciyd7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2021-07-29 21:59       ` John MacFarlane
  0 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2021-07-29 21:59 UTC (permalink / raw)
  To: Martin Eiermann, pandoc-discuss


You can also use

   --pdf-engine=/Library/TeX/texbin/pdflatex


John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:

> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-29 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29 17:54 pandoc pdflatex conversion on M1 Mac 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
     [not found]     ` <m2tukciyd7.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-07-29 21:59       ` 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).