bug-auctex
[Top][All Lists]
Advanced

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

bug#21756: 24.3.1; reftex-select buffer empty


From: Tassilo Horn
Subject: bug#21756: 24.3.1; reftex-select buffer empty
Date: Mon, 26 Oct 2015 09:36:42 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

"livio.flaminio" <address@hidden> writes:

Hi!

> In a multifile setting if the master file has a line
>
> \IfFileExists{cours01.tex}{\include{filename}}{\relax}
>
> instead of the more common
>
> \include{filename}
>
> then reftex does not find references

Yes, but I don't think there's not much we can do.  RefTeX has no chance
to know if \IfFileExists is true or false.  It could also be
\IfPhaseOfMoonEquals...

RefTeX considers all \includes and \inputs which are on their own line.
Thus, when you write the above as

\IfFileExists{cours01.tex}{%
  \include{filename}}{%
  \relax}

then RefTeX will pick up filename.  Of course, if cours01.tex doesn't
exist, then it's wrong again.  But then again, we cannot do much about
that.

Does the above work for you?  If so, is it ok when I close the bug?

Bye,
Tassilo





reply via email to

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