[Top][All Lists]

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

Re: [AUCTeX] reftex-label-alist for ctable package

From: Tassilo Horn
Subject: Re: [AUCTeX] reftex-label-alist for ctable package
Date: Thu, 02 Aug 2012 08:16:20 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Michael Bach <address@hidden> 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

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.





foo bar baz



\ctable[ pos = htbp, cap = shortcap, caption = longcap, label={tab:me}]{lll}{
  \tnote{Who is that guy?}
Me & Myself & I
how & are & you? \NN
I\tnote& am & fine

  foo abb

dum di dum \ref{tab:me} \ref{lst:foo}.


reply via email to

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