[OS X TeX] how enable texdoc?
Vic Norton
vic at norton.name
Mon Aug 27 16:38:53 CEST 2012
On Aug 27, 2012, at 9:45 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> I have MacTeX 2012 installed and running (under Mountain Lion). How do I enable texdoc to work from a command line in Terminal?
>
> I find, e.g.:
>
> $ texdoc mathmode
> -bash: texdoc: command not found
>
> Is there some reason texdoc is not automatically made available to bash when MacTeX 2012 is installed?
>
> ---
> Murray Eisenberg murrayeisenberg at gmail.com
> 80 Fearing Street phone 413 549-1020 (H)
> Amherst, MA 01002-1912
I had this problem a while ago. I had installed BasicTex in MacPorts and this apparently caused the problem. The fix was simple. I just put the line
export PATH=/usr/texbin:/opt/local/bin:/opt/local/sbin:$PATH
in my ~/.bash_profile = ~/.bashrc file.
More information about the macostex-archives
mailing list