Re: label completion in the \ref auctex macro
David Kastrup <[email protected]> Tue, 15 Mar 2005 16:21:22 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Daniel Schmitt <[email protected]> writes: > Using the auctex macro \ref I would excpect that the key completion > using TAB to offer all labels in the current document. > > For example starting from this document: > \documentclass[a4paper]{article} > > \begin{document} > \begin{figure} > dfdsj > \caption{eins} > \label{fig:eins} > \end{figure} > \end{document} > > using copy and paste: > \documentclass[a4paper]{article} > > \begin{document} > \begin{figure} > dfdsj > \caption{eins} > \label{fig:eins} > \end{figure} > > \begin{figure} > dfdsj > \caption{zwei} > \label{fig:zwei} > \end{figure} > > \end{document} > > Now, fig:zwei is not offered in the completion list. Labels that you did not let RefTeX insert itself become known to it only when reparsing the document. Use the menu "Ref/Parse Document". -- David Kastrup, Kriemhildstr. 15, 44793 Bochum