You need to install the ifluatex package from CTAN:
http://www.ctan.org/pkg/ifluatex
If you are using MacTeX or TeXLive (the most common options for the Mac),
then you can probably get this by doing 'tlmgr install ifluatex'.
On Friday, November 9, 2012 8:13:57 AM UTC-8, Sharon Klinkenberg wrote:
> Hi There,
> I'm running MAC OS 10.6.8 and have installed pandoc-1.9.4.2.dmg. After
> specifying where pdflatex could be found e.g. adding to the path. I get the
> following message when I want to create a pdf.
> u022579:me$ pandoc x.md -o x.pdf
> pandoc: Error producing PDF from TeX source.
> ! LaTeX Error: File `ifluatex.sty' not found.
> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: sty)
> Enter file name:
> ! Emergency stop.
> <read *>
> l.6 \usepackage
> u022579:me$
> I found some Fedora issues on this subject but no solution for mac.
> Can anyone help me?