emacs-app does not find latex

Andre Massing massing at simula.no
Tue Nov 9 03:13:50 PST 2010


Hi!

Den 08.11.10 17.19, skrev Harald Hanche-Olsen:
> + Andre Massing<massing at simula.no>:
>
>> (setenv "PATH" (concat "/opt/local/bin:" (getenv "PATH"))) because of
>> gs
>> (setenv "PATH" (concat "/usr/texbin:" (getenv "PATH"))) because of
>> latex and pdflatex
> You could combine the two into
>    (setenv "PATH" (concat "/usr/texbin:/opt/local/bin:" (getenv "PATH")))
> or even
>    (setenv "PATH" (concat "/usr/texbin:" "/opt/local/bin:" (getenv "PATH")))
>> But somehow it seems strange me that I have to explicitly add them,
>> isn't?
> Depends how you start emacs. If you start it from the command line
> that should not be necessary, but if you start it from the dock or
> finder, things are trickier. Check out
>
>    http://developer.apple.com/library/mac/#qa/qa2001/qa1067.html
>
> or do a google search for ".MacOSX/enviroment.plist" for how to set
> the environment in those cases.
>
Yes, I had that I while ago, but was a bit wondering that it seems to be 
a kind of implicit knowledge
you have to have :) and thought that I missed a point.

> I am sorry I can't help you with your latest problem, as I don't (yet)
> use auc-tex, and neither do I use the macports version of emacs.
But many thanks for the help, I will discuss it in another thread
Cheers,
Andre

> - Harald
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list