Hi

Reftex now support subfiles, so the following observation also applied
for master and slave files, via the \include command.

reftex-select-toggle-follow  is a very useful function and works well
for all references, when used from the master file
\documentclass[12pt]{article}
\usepackage{subfiles}
\begin{document}
\subfile{section1.tex}
\subfile{section2.tex}
\end{document}

It also works well for references in a *one slave* file: section1.tex
\documentclass[main]{subfiles}
\begin{document}
\begin{equation}
\label{eq:section1:1}
\int f dx =0
\end{equation}
\end{document}

That is when called in that file it displays all references in *this*
file section1.tex

However the function does not work when it is called in section1.tex but
the reference is in the second section file: section2.tex


\documentclass[main]{subfiles}
\begin{document}
\begin{equation}
\label{eq:section2:1}
 \sum \alpha_k=0
\end{equation}
\end{document}

Any possibility to implement such a feature?

Thanks and regards

Uwe Brauer 

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to