latex, xdvi, gv, dvips, etc.... in Snow Leopard

Please give me an idea how to enable latex, xdvi, gv, dvips commands in xterm of the Snow Leopard (SL). I can't understand why these are not in SL when they are in Tiger. Thank you.

Macbook Pro, iMac, Mac OS X (10.6)

Posted on Sep 4, 2009 10:14 PM

Reply
3 replies

Oct 24, 2009 10:40 PM in response to titaytitok

Upon upgrading to Snow Leopard, I tried to compile a LaTeX document on the command line (i.e. xterm), but a -bash error came up and told me that the "latex" command did not exist. I soon discovered that other commands like xdvi were not recognized. After I confirmed that my TeX distribution had not been deleted (compiling documents using the front-end editor TeXShop worked fine) I went to the MacTeX website FAQ, located here: http://www.tug.org/mactex/faq/ and discovered (in the answers to question 10) that upgrading to Snow Leopard probably resulted in the removal of /usr/texbin from the default PATH (this is what allows xterm to cross-reference the executable files like latex, xdvi, etc., which are installed by the MacTeX distribution and placed in the directory /usr/texbin). Obviously, without knowing where to look, your computer won't be able to find and execute the commands. The solution to this problem--which was effective after performing the suggested steps and restarting Terminal--is outlined in section (d) of question 10.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

latex, xdvi, gv, dvips, etc.... in Snow Leopard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.