[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: environment variables?
From: |
Ikumi Keita |
Subject: |
Re: environment variables? |
Date: |
Mon, 23 Oct 2023 15:12:20 +0900 |
Hi Tom,
>>>>> Tom Sgouros <tsgouros@gmail.com> writes:
> How can I set an environment variable necessary for my TeX installation to
> find my local class files? Is there a way within Auctex to do this?
> I'm using a Mac (MacOs 13.2), and if anyone is familiar with the best way
> to set environment variables for an Emacs started from the Finder where
> there is no environment to inherit I'd love to hear about that, too.
> /etc/rc.common does not appear to work for this.
You can use elisp function `setenv'. Put something like this in your
init file (e.g. ~/.emacs.d/init.el):
(setenv "TEXINPUTS" "/abc/def/xyz//:")
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine