Skip to content

Instantly share code, notes, and snippets.

@fraserxu
Created May 9, 2015 01:08
Show Gist options
  • Save fraserxu/efad4d98076d5c004edc to your computer and use it in GitHub Desktop.
Save fraserxu/efad4d98076d5c004edc to your computer and use it in GitHub Desktop.
pandoc pdflatex
// http://tex.stackexchange.com/questions/175598/how-to-compile-on-a-mac-after-upgrade-to-maverick-os-10-9-2
It seems that the upgrade wiped the link from your Library (where MacTeX puts your actual TeX distribution) into your /usr/texbin. You can reinstate this link with the following:
ln -s /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin \
/usr/texbin
This will essentially create a shortcut at /usr/texbin that points to your texbin in MacTeX's internal directory. You still should make sure that /usr/texbin is in your PATH environment variable, though.
NB. If you use LateX -> PS -> PDF, you may also need to repair the link to ghostscript:
sudo ln -s /usr/local/bin/gs-noX11 gs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment