auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reftex label support for lstlisting?


From: Uwe Brauer
Subject: Re: reftex label support for lstlisting?
Date: Mon, 10 Jan 2022 09:24:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "TH" == Tassilo Horn <tsdh@gnu.org> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
> Hi Uwe,

>> Thanks, I have a recent GNU emasc master and auctex master
>> 
>> However when I do that you propose I end up with 
>> 
>> \begin{lstlisting}[caption=feed],label={lstl:table:1}
>> if = x
>> [num,den]=feedback(num 1, den 1,num 2,den2)
>> \end{lstlisting}
>> \newpage
>> Note this \ref{lstl:table:1}
>> 
>> But latex does not find this label.
>> 
>> \begin{lstlisting}[caption=feed],label={lstl:table:1} 
>> 
>> Looks like a bug to me it should be 

> For me, C-c C-e lstlisting RET caption=feed RET inserts

> \begin{lstlisting}[caption=feed,label={lst:3}]

> \end{lstlisting}

> as it should be.

>> Shall I submit a bug report?

> What exactly have you typed and did you try with emacs -Q (and then
> loading auctex manually without customizations)?

I typed precisely the same as you, but you are right, I should check my
customization first.

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]