[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: Reftex and listings
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] Re: Reftex and listings |
Date: |
Sun, 02 Aug 2009 19:58:43 +0200 |
* 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
- Re: [AUCTeX] Re: Reftex and listings,
Ralf Angeli <=