auctex
[Top][All Lists]

## Re: [AUCTeX] RefTeX: defining new label environment

 From: Ralf Angeli Subject: Re: [AUCTeX] RefTeX: defining new label environment Date: Sat, 12 Sep 2009 19:44:17 +0200

```* Joost Kremers (2009-09-10) writes:

> Is there a way to get RefTeX to recognize these things as labels? I've tried
> adding a definition to reftex-label-alist and specifying `\ex<*>' for the
> ENV-OR-MACRO entry, but that doesn't work...

Yes, angle brackets are not supported as delimiters.  I currently don't
have a workaround for that.

> PS: there is a discrepancy between the doc string for reftex-label-alist and
> the info section "Non-Standard Environments". The former says that if
> ENV-OR-MACRO is a function, it must return a cons cell (FUNCTION . POSITION),
> the latter says that it must return just a buffer position.

Thanks for the hint.  I fixed this in CVS.

By the way, the lines produced by your MUA are rather long.

--
Ralf

```