On Sun, Aug 2, 2009 at 7:58 PM, Ralf Angeli<[email protected]> wrote:
> * 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 mea

Do you know of any way to do that with the listings package? I saw
some mails in this mailing list about defining a new lstenvironment
but am not sure this works out of the box.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to