Mosè Giordano <[email protected]> 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


_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to