auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] reftex: feature proposal/feature, subfiles


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] reftex: feature proposal/feature, subfiles
Date: Wed, 21 Oct 2015 14:19:58 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>> Well, if we'd set the master from that \documentclass it would have
>> the same effect.  As far as I understand, what you want to have is a
>> no master file for the subfiles wrt. compilation but main.tex as
>> master wrt. references.  Is that correct?
>
> This is the most important feature, yes.  I would also like auctex to
> scan the header of main.tex without being the master but this looks
> almost impossibe.

Indeed.

>> If so, could you test this version of `reftex-TeX-master-file' where
>> the optional argument of the \documenclass is used as master for
>> RefTeX only, i.e., you stick to TeX-master being t in the subfiles.
>
> Great, I have tested it: it works like charm, thanks a ton, (should
> have asked earlier :-D )
>
> Pls commit.

Done, although a different variant which will work for Emacs' builtin
`latex-mode', too.

Bye,
Tassilo




reply via email to

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