Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

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

for example

\label{derivability:thm:Rolle}

Is there a way to do that automatically with reftex ?

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

share|improve this question

1 Answer 1

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.

share|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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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