[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] texlive 2014

From: Lars Madsen
Subject: Re: [AUCTeX] texlive 2014
Date: Sat, 9 Aug 2014 23:22:25 +0000

It souls like one if those cases where a person have added a path change to ".bashrc" and then started emacs via a menu. That will not work and emacs will not find latex. Add it to ".profile" instead and lig out and in again, then it works.

That ".bashrc" advise is really annoying

-----Original Message-----
From: Mosè Giordano address@hidden
Received: søndag, 10 aug. 2014, 1:04
To: Ernst Reissner address@hidden; auctex address@hidden
Subject: Re: [AUCTeX] texlive 2014

2014-08-10 0:55 GMT+02:00 Ernst Reissner <address@hidden>:
> On 08/10/2014 12:41 AM, Mosè Giordano wrote:
>> 2014-08-10 0:32 GMT+02:00 Ernst Reissner <address@hidden>:
>>> Hi Mosè,
>>>> Hi Ernst,
>>>> 2014-08-10 0:04 GMT+02:00 Ernst Reissner <address@hidden>:
>>>>> Hi All,
>>>>> right now i found out,
>>>>> that auctex does not yet work with newest texlive 2014.
>>>>> Who can help? Maybe only a tiny problem.
>>>>> Greetings,
>>>>> Ernst
>>>> What do you mean by "auctex does not yet work with newest texlive
>>>> 2014"?  Did you use other TeX Live versions before switching to 2014?
>>>> Can you compile your documents from the terminal but not from AUCTeX?
>>>> Please add more information, I have no problem with AUCTeX and TeX
>>>> Live 2014.
>>> Oh sorry, I made a mistake configuring auctex.
>>> Now i have another problem:
>>> emacs looks fine with all menus expected for auctex.
>>> When trying to tex
>>> ctrl c-l yields
>>> Running `LaTeX' on `l2r' with ``latex  -interaction=nonstopmode "\input"
>>> l2r.tex''
>>> /bin/sh: latex: command not found
>>> LaTeX exited abnormally with code 127 at Sun Aug 10 00:30:04
>>> although switching to directory with l2r.tex and issuing latex
>>> -interaction=nonstopmode "\input" l2r.tex on the command line, there is
>>> no problem.
>>> What's wrong here?
>> Are you sure your *tex binaries are in the PATH environment variable?
>> Try restarting your system if you have just changed some settings.
>> Usually you don't need to configure anything inside AUCTeX, if a TeX
>> distribution is properly installed.
>> Bye,
>> Mosè
> To tell you the truth, i am not.
> I right now added
> (getenv "PATH")
>  (setenv "PATH"
> (concat
>  "/usr/local/texlive/2014/bin/x86_64-linux" ":"
> (getenv "PATH")))
> to my .emacs-file and it seems to work.
> "/usr/local/texlive/2014/bin/x86_64-linux" is the location of my
> tex-binaries.
> I wonder about this is necessary, because i also added this to the path
> of my shell to run latex and pdflatex and others
> on the command line.

How do you add that directory to your PATH for your shell (which
shell?)?  One should use a .profile file or another file which is
sourced at the system startup.

> Do you think, i found a solution or is it just a hack?

You found a solution but this should work also without changing the
PATH within Emacs: if the PATH is properly set in the system, Emacs
will be able to find latex itself.


PS: please keep the AUCTeX mailing list in CC, this may be useful for
other people out there.

auctex mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]