I am using Emacs with AUCTeX in case that matters.
I have many \label
ed items and was wondering if there is a way to bring up a list of them? I hate having to scroll through to the document to find the \label{eq:...}
, \label{fig:...}
, etc. since I can't remember all the names. Is there an easy way to see a list of them when I am looking to cross-reference one.
So right now I am trying to reference two equations, but I can't remember the label name. How can I obtain it without scrolling through the .tex
file?
What do I do from here? I can't get to the \ref
option no matter what I hit or do.
C-c )
? Hit<space>
to getreftex
to bring up an outline of the document and offer options in the mini-buffer. (Note: if you are usingAUCTeX
, you are also probably usingreftex
by default.)C-c )
, I get a choice select reference format:[^M] \ref
and[p] \pageref
, but whenever I hitspace
as you suggested,^M
, or try to navigate to it to hit enter, the buffer disappears.\label
s and so forth, typingC-c )
brings up in the mini-buffer:Label type: [ efinNst] (?=Help)
. Hitting<SPC>
at this point splits the main buffer and in the bottom one the document is parsed, showing\label
s in a skeleton outline of the document. However, if I wait too long to make a selection, I get in the bottom halfSELECT A LABEL TYPE
and in the mini-bufferLabel type: [ efinNst]
, and hitting<SPC>
at then brings me to the outline withSelect: [n]ext [p]revious [r]escan [ ]context e[x]tern [q]uit RET [?]HELP+more
.\ref
or\pageref
! See the manual. (The trouble with AUCTeX is that there is too much functionality and you forget half or more of everything you've learned every month or so....)<RET>
and it will default to\ref
, whereas you should typep <RET>
if you want\pageref
. However, I don't see the manual open at all in the screenshot but a*RefTeX Select*
buffer. The^M
is a carriage return.