auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] [RFC] parsing \jobname in LaTeX files?


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] [RFC] parsing \jobname in LaTeX files?
Date: Tue, 01 Sep 2015 07:46:23 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

Hi Mosè,

> I'd like to do a little survey: does someone find useful to correctly
> parse \jobname in LaTeX files?  To be clear, as it is now,
>
>     \include{\jobname-foo}
>     \addbibresource{\jobname.bib}
>
> are ignored by the parser.[1] Do you think it's valuable to make
> \jobname be replaced by `(TeX-master-file)' when parsing the file?
>
> This should be feasible by changing `LaTeX-auto-cleanup' and some
> regexps in `LaTeX-auto-regexp-list', but before starting hacking on it
> I'd like some feedback.

I don't use \jobname so I don't have a real opinion on this.  But
\jobname could be anything, the basename of the master file is just the
default, no?  That is, I could set `TeX-command-extra-options' to
"-jobname foo" although my document is bar.tex, and then \jobname
expands to "foo".

Bye,
Tassilo




reply via email to

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