Michael Bach <[email protected]> writes:
Hi Michael,
> Anyway, I tried it again today on my home box with the exact recipe
> from my previous post - still no luck. Maybe someone is willing to
> help and could also test this patch?
If not, you could also try a windows snapshot build from
http://alpha.gnu.org/gnu/emacs/windows/
Right now, the most recent version there doesn't yet contain my patches.
Maybe there's a new build in a few days. The revision number must be
r109239 or higher, then it contains my patches and should work out of
the box.
And to absolutely sure that nothing interferes, here's a minimal working
recipe starting with emacs -Q which works just fine for me.
$ emacs -Q foo.tex # contains ctables, lstlisting with label={x}
M-x reftex-mode ;; enable reftex-mode
C-c = ;; shows TOC buffer
l ;; enables the display of labels
Now I see something like
--8<---------------cut here---------------start------------->8---
TABLE-OF-CONTENTS on ~/tmp/foo.tex
SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help
------------------------------------------------------------------------------
1 bla
> sec:bla
1.1 blub
> sec:blub
> tab:me
> lst:foo
2 goo
> sec:goo
--8<---------------cut here---------------end--------------->8---
Before the `l' command, only the sections are shown.
If I do `C-c )' in the foo.tex file and select SPC to show all labels, I
get a similar *RefTeX Select* buffer.
Attached is the foo.tex file I use for testing.
Bye,
Tassilo
\documentclass{article}
\begin{document}
\section{bla}
\label{sec:bla}
foo bar baz
\subsection{blub}
\label{sec:blub}
Ding
\ctable[ pos = htbp, cap = shortcap, caption = longcap, label={tab:me}]{lll}{
\tnote{Who is that guy?}
}{
\FL
Me & Myself & I
\ML
how & are & you? \NN
I\tnote& am & fine
\LL
}
\begin{lstlisting}[label={lst:foo}]
foo abb
\end{lstlisting}
\section{goo}
\label{sec:goo}
dum di dum \ref{tab:me} \ref{lst:foo}.
\end{document}
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex