[Top][All Lists]

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

Re: [AUCTeX] Parsing first line

From: Tassilo Horn
Subject: Re: [AUCTeX] Parsing first line
Date: Fri, 20 Feb 2015 10:19:21 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

>> I'm not exactly sure why the default is to compile a document with
>>   latex <options> "\input yourfile.tex"
>> instead of just
>>   latex <options> yourfile.tex
>> when using latex/pdflatex but I guess there's a reason, so that
>> suggestion might have some caveat I'm not aware of.
> David explained why AUCTeX compiles with "\input file.tex" here:

Ah, I see.

> Last year I tried to work on implementing a local variable to specify
> the output directory, and so indirectly fix Alistair's problem, but
> I've never finished it.

Couldn't you simply put the -output-directory option into
`TeX-command-extra-options'?  Ah, no, then the View commands won't work
of course...

> (One of) The main problem was how to share such variable across
> multiple files of the same document (store it in the auto file?), but
> there is the same problem for other variables like `TeX-engine'.

Is that necessary?  I mean, tex commands are either invoked on the
master file or the region file, where in both cases the local vars of
the master file's buffer are in effect, no?


reply via email to

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