add support for mactex if its present
diff --git a/plugins/latex.plugin.bash b/plugins/latex.plugin.bash
new file mode 100644
index 0000000..b8a4baa
--- /dev/null
+++ b/plugins/latex.plugin.bash
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# add mactex to the path if its present
+MACTEX_PATH=/usr/local/texlive/2009/bin/universal-darwin
+if [[ -d  $MACTEX_PATH ]]; then
+    export PATH=$PATH:$MACTEX_PATH
+fi