I have been using BasicTeX with pandoc for a number of years without any issues. pdflatex is part of the BasicTeX distribution, so you don’t need to install the full MacTeX to solve this problem. I suspect that the addition of the TeX bin directory to your PATH isn’t being picked up. What is the output of echo $PATH?

As I am using custom pandoc templates I have installed some additional packages through TeX Live Utility (download from the same page as BasicTeX). I also want the documentation and source for all installed packages so after the BasicTeX install I follow this procedure:

tlmgr option docfiles 1 (with the sudo prefix if required)
tlmgr option srcfiles 1 (with the sudo prefix if required)
In TeX Live Utility in the Packages tab, sort on Status with “Installed” at the top. Then select all the installed packages and from the “Actions” menu select “Reinstall Selected Packages”. You now have the documentation and source files for all installed packages
Using TeX Live Utility install any additional packages as required (e.g., texdoc for access to the documentation)

John

On 2017-08-30, at 04:30 +1200, sunyx.johanna2016-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org wrote:

i think i installed the basictex successfully
but it doesn't work(?


--
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.
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/dca26845-edfd-4a66-9fef-ac217439ecac%40googlegroups.com.
For more options, visit 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-/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/E858EB2C-2683-433C-B53A-23034FF43C92%40gmail.com.
For more options, visit https://groups.google.com/d/optout.