auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: RefTeX referencing a custom environment


From: Ralf Angeli
Subject: Re: [AUCTeX] Re: RefTeX referencing a custom environment
Date: Fri, 06 Jul 2007 22:40:11 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

* Sebastian P. Luque (2007-07-06) writes:

> On Thu, 05 Jul 2007 22:35:15 +0200,
> Ralf Angeli <address@hidden> wrote:
>
>> (info "(reftex)Figure Wrapper")
>
> Thanks, I've read this before but didn't remember its relevance here.
[...]
> (setq reftex-label-alist
>       '(("\\msportraittable{}{*}{}{}" ?t nil nil 1)))
>
> but doing 'C-c r' with point just after "Table" above brings up a
> reference for "#2", which comes from the environment definition in the
> preamble.

That will probably not be easy to get rid of.

> I don't understand from the docstring what options I have for
> the TYPE-KEY element of the alist, which might be what is wrong in my
> setting above.  Any further suggestions welcome.

(setq reftex-label-alist
      '(("\\begin{msportraittable}{}{*}{}{}" ?t nil nil 1)))

This is quite hackish, I know.

-- 
Ralf




reply via email to

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