[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TEXINPUTS as a local variable
From: |
Leo Butler |
Subject: |
Re: TEXINPUTS as a local variable |
Date: |
Wed, 05 Jan 2022 08:20:00 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Arash Esbati <arash@gnu.org> writes:
> Arash Esbati <arash@gnu.org> writes:
>
>> Another longish approach would be to set `process-environment', maybe
>> something like this in eval:
>>
>> (let ((process-environment process-environment))
>> (add-to-list 'process-environment
>> "TEXINPUTS=.:..:../resources:../../resources:"))
>
> Sorry for yanking the wrong snippet, I meant
>
> (add-to-list (make-local-variable 'process-environment)
> "TEXINPUTS=.:..:../resources:../../resources:")
>
> And I still think this is a kludge ☹️
Thanks, Arash, I should have thought of process-environment. I think I
can combine your suggestions with a customized PDFLaTeX command in
TeX-command-list.
Best,
Leo