unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* RefTeX label prefix
@ 2011-01-12  9:35 Fabien Vignes-Tourneret
  0 siblings, 0 replies; only message in thread
From: Fabien Vignes-Tourneret @ 2011-01-12  9:35 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Hi,

I would like your opinion about a little trouble I have with the RefTeX plugin in Emacs (in fact I use Aquamacs but I suspect that the problem would be the same with a regular Emacs). I defined new environments by customizing reftex-label-alist:
thm of type h and prefix thm:, and prop of type h and prefix prop:. As far as I understand, the type is used when Emacs prompts to ask which type of label it should display in the label menu. I would like my theorems and propositions to be displayed together. But it seems that two environments of the same type cannot have different prefixes. When I insert a prop environment in a .tex file, Emacs inserts a label like this: \label{thm:}. If I modify the type of prop to p say, then the inserted label is \label{prop:} but I can't display prop and thm labels at the same time (except if I display all label types of course).

Does anyone knows if there is a way to modify this RefTeX behaviour? Thanks a lot.

Fabien

[-- Attachment #2: Type: text/html, Size: 5552 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-12  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12  9:35 RefTeX label prefix Fabien Vignes-Tourneret

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).