[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: Reftex and listings
From: |
Damien Cassou |
Subject: |
Re: [AUCTeX] Re: Reftex and listings |
Date: |
Sun, 2 Aug 2009 20:56:47 +0200 |
On Sun, Aug 2, 2009 at 7:58 PM, Ralf Angeli<address@hidden> 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