<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Marek,
<div class=""><br class="">
</div>
<div class="">I've now read other comments more closely, and also your original question and response more closely </div>
<div class="">You installed MacTeX-2022 and it looks to me like everything worked as expected. Your problem was that pandoc didn't work.</div>
<div class=""><br class="">
</div>
<div class="">Please issue the following commands in Terminal</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>cd /Library/TeX/texbin</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ls</div>
<div class=""><br class="">
</div>
<div class="">If you see a list of lots of TeX binaries, then the symbolic link is working correctly.</div>
<div class=""><br class="">
</div>
<div class="">I suspect you don't use TeXShop, but my program has a "Pandoc Engine".You won't want to use it directly, but it illustrates that nothing very fancy needs to happen when you call pandoc:</div>
<div class=""><br class="">
</div>
<div class="">--------</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
#!/bin/zsh</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
# pandoc takes an input file (including markdown) and writes an output file (html, pdf, latex, ...)</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
PATH=$PATH:/Library/TeX/texbin:/usr/texbin:/usr/local/bin</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
OUTFILE="`basename $1`"</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
OUTFILE="${OUTFILE%.*}.html"</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
# echo $OUTFILE</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
pandoc -s "$1" -o $OUTFILE</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; min-height: 19px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
/Applications/Safari.app/Contents/MacOS/Safari "$OUTFILE" &</div>
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
-------</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal;" class="">
<div style="font-size: 12px;" class="">Why not try another experiment in Terminal. Temporarily set your PATH to just point to /Library/TeX/texbin</div>
<div style="font-size: 12px;" class="">in Terminal, and then change to a directory with a pandoc document and call pandoc from within that Terminal session. Does that work?</div>
<div style="font-size: 12px;" class=""><br class="">
</div>
<div style="font-size: 12px;" class="">If so but there are still problems, explain how you actuall call pandoc in your work flow.</div>
<div style="font-size: 12px;" class=""><br class="">
</div>
<div style="font-size: 12px;" class="">Richard Koch</div>
</div>
</body>
</html>