"livio.flaminio" <[email protected]> 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



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

Reply via email to