![]() > Aquamacs will pick up the /Library path in a future version, but not the /usr/local/texlive/2014 one. > export PATH=/Library/TeX/texbin:/usr/local/texlive/2014/bin/x86_64-darwin:$PATH > In that case I would suggest adding the following to their ~/.bash_profile script: > I suspect that their LaTeX isn’t available from the command line either. > On Oct 30, 2015, at 7:53 AM, David Reitter wrote: Is it assumed that Aquamacs.app is directly in /Applications or is it fully relocatable? I prefer storing it, with associated documentation, in a sub-directory of /Applications. I just downloaded and re-installed Aquamacs.app and still have the same problem. The correct path is shown in Terminal.app so the system is using the /etc/paths.d/TeX file which contains /Library/TeX/texbin. For some reason it doesn't seem to pick up the changed PATH variable. > On the other hand, I gather this does not work for Herb…? Herb, which one are you using, Aquamacs or Emacs.app? Can you please keep the other lists in the CC? I am going to paste your response below. My response was to tell Aquatics picks my PATH just fine. > I think Herb is interested in formulating some kind of advise for MacTeX users. > Oh, that’s because you are responding to me, and I was responding to Herb, who I haven’t used Emacs.app in a long time, so I could not remember about that one. > On Oct 29, 2015, at 6:19 PM, Ettore Aldrovandi wrote: Is there something I have to do to for AUCTeX to re-initialize itself or is auctex-config.el executed on every start? Maybe that's all it needs. I've changed the /usr/texbin in auctex-config.el but it still won't execute pdflatex. In Terminal everything works properly, i.e., PATH does pick up /Library/TeX/texbin. I thought it inherited the correct PATH variable, include the /etc/paths.d/TeX contents (/Library/TeX/texbin). > I will make sure that Aquamacs will also pick up /Library/TeX/texbin, although generally, the Path setting from the default login shell is imported. On the other hand, I gather this does not work for Herb…? Herb, which one are you using, Aquamacs or Emacs.app? Can you please keep the other lists in the CC? I am going to paste your response below. I think Herb is interested in formulating some kind of advise for MacTeX users. Oh, that’s because you are responding to me, and I was responding to Herb, who > From your message, I cannot see your original problem. ![]() > It appears that newer MacTeX installations might install into a different path, or at least no longer link /usr/texbin (which may be a protected directory under El Capitan). > Emacs.app will not pick up your PATH settings, but Aquamacs does so. ![]() > - Please Consult the Following Before Posting. I'll need a complete description of file contents, file names, storage locations and any incantations that must be executed to fix the problem once and for all. > Not having used emacs since the 1980's I have no idea how to fix the internally used PATH in emacs, Aquamacs in particular, so that external commands can be executed via AUCTeX using /Library/TeX/texbin. > On Oct 28, 2015, at 16:24, Herbert Schulz wrote: I don’t know what happens with the standard Emacs.app. However, Aquamacs inherits my PATH just fine: in my case it does have /usr/texbin in its environment, but I have TeXLive installed under /opt (and available through /etc/paths.d) and it picks it just fine. I understand a new release is in the making, so this change may make it. Yeah, that should be replaced by /Library/TeX/texbin. Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex-config.elĪ number of directories, currently including /usr/texbin are *concatenated* to the PATH. David will probably be able to give you a more comprehensive answer. I’m cc’ing the Emacs on Mac OS X list and the aquamacs-devel one.
0 Comments
Leave a Reply. |