Thank you!
I had specified the wrong location as you saw.  These now both work.
whereis pandoc /usr/local/Cellar/pandoc/2.12/bin/pandoc
markstat using auto1.stmd, bundle

and the shorter
whereis pandoc/usr/local/bin/pandoc
markstat using auto1.stmd, bundle

On Tuesday, 16 March 2021 at 16:26:33 UTC+1 William Lupton wrote:
that looks like a directory?

on my system (with an older version):

% ls /usr/local/Cellar/pandoc/2.11.4/bin/pandoc 

/usr/local/Cellar/pandoc/2.11.4/bin/pandoc*


On Tue, 16 Mar 2021 at 15:14, Juan Antonio Solon <jso...-mWE9Js8LL8XXfrYAhh+zQw@public.gmane.org> wrote:
I am on Mac OS Catalina and just started using pandoc.
It is found here: /usr/local/Cellar/pandoc/2.12

I am able to do the examples found here: https://pandoc.org/demos.html
However, when I use the markstat command in Stata which uses pandoc, I get an error
Running Pandoc
/usr/local/Cellar/pandoc/2.12

zsh:1: permission denied: /usr/local/Cellar/pandoc/2.12
file auto1.docx not found

I am able to see the intermediate outputs of markstat , but it is the final step in pandoc that seems to be a problem.




--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/21e56cbd-1fa2-4ff4-8135-e7136d14ba49n%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/83ff4a27-beb0-4f7d-8ebb-7fdd4c58f3d9n%40googlegroups.com.