Re: label completion in the \ref auctex macro
Reiner Steib <[email protected]> Tue, 15 Mar 2005 17:03:13 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 15 2005, David Kastrup wrote: > 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. [...] >> 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". Daniel didn't use any RefTeX command, but he used `C-x RET \ref RET'. After C&P, `M-: (LaTeX-label-list) RET' only shows fig:eins. After `C-c C-n' (<LaTeX> <Multifile/Parsing> <Reset Buffer> / TeX-normal-mode), `M-: (LaTeX-label-list) RET' shows the updated list. As an end user not familiar with AUCTeX's internals, Daniel expected that AUCTeX might know about the labels after running LaTeX on the document. Is `C-c C-n' the best way to deal with this problem? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/