* Damien Cassou (2009-07-31) writes:
> To be more concrete, in the following document, I can't get RefTeX
> find a proper reference to put after the word 'Please see Listing'.
> The list of references proposes by reftex-references `C-c )' is empty
> (even if I rescan and select 'any').
>
> \documentclass{article}
> \usepackage{listings}
> \begin{document}
>
> \begin{lstlisting}[language=Java, caption={Caption}, label={lst:test}]
> test
> \end{lstlisting}
>
> Please see Listing
>
> \end{document}
AFAICS only constructs like
\begin{foo}
\label{<label>}
...
\end{foo}
,
\bar{... \label{<label>}}
or
\baz{<label>}{...}
are supported. That means it has to be the argument of a macro (and
\label is hard-coded).
--
Ralf
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex