Starting from scratch (no LaTeX), you can do the following:
- Install MacTeX as shown below ([Ref: this link] (http://tex.stackexchange.com/questions/97183/what-are-the-practical-differences-between-installing-latex-from-mactex-or-macpo)):
$ brew tap phinze/cask
$ brew install brew-cask
$ brew cask install mactex
- In this version, pdflatex is broken, so I had to go to my Applications/TeX folder and run FixMaxTeX2013.pkg. ([Ref: this stack exchange link] (http://tex.stackexchange.com/questions/163849/mavericks-upgrade-screwed-up-my-pdflatex-command-not-found))
- Now I'm ready to install pandoc as below