I'm using reftex under emacs. In my document, my label policy is the following :

\label{<buffer name>:<env>:<key>}

for example


Is there a way to do that automatically with reftex ?

Thanks you for any advice, link or documentation...


RefTeX customization -> RefTeX Label Support -> Reftex Defining Label Environments -> Reftex Label Alist. Change Label prefix string (for every entry). Use %f for filename (extension will be stripped); for details, see the documentation in the customization buffer.

| improve this answer | |
  • Doesn't work, since my reftex seems to ignore completly all customization. I have to check that... – Paul Pichaureau Mar 28 '13 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.