Re: [AUCTeX] RefTeX referencing a custom environment

2007-07-05 Thread Ralf Angeli
* Sebastian P. Luque (2007-07-05) writes:

> I would like to have 'C-c r' (reftex-reference) recognize the label for a
> custom table environment (of course with threeparttable package loaded):
>
> \newenvironment{msportraittable}[4]{%

(info "(reftex)Figure Wrapper")

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] RefTeX referencing a custom environment

2007-07-05 Thread Sebastian P. Luque
Hi,

I would like to have 'C-c r' (reftex-reference) recognize the label for a
custom table environment (of course with threeparttable package loaded):

---<---cut here---start-->---
\newenvironment{msportraittable}[4]{%
  \begin{table}[p]%
\centering
\begin{small}%
  \begin{threeparttable}%
\caption{#1} \label{#2}
#3
\begin{tablenotes}%
  \smaller{#4}}{%
\end{tablenotes}%
  \end{threeparttable}%
\end{small}%
  \end{table}}
---<---cut here---end>---

At the moment, with AUCTeX 11.83 and GNU Emacs 22.1.50.1
(x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-07-01 on
elegiac, modified by Debian, RefTeX's completion list of available table
labels doesn't include tables I've made with the above environment.  Is
there any way to achieve this?


Cheers,

-- 
Seb



___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex