[OS X Emacs] LaTeX-section-label customization

kbmail at free.fr kbmail at free.fr
Sun Oct 19 08:37:47 EDT 2008


Yes ! It does the trick for sections !! Thank you !!

I simply added the following list in my .emacs:

(setq reftex-section-prefixes
   '(("part" . "part-")
     ("chapter" . "chap_")
     ("section" . "sec_")
     ("subsection" . "sec_")
     ("subsubsection" . "sec_")))

So, now, one more question: do you know how the way to do the same  
thing for tab:, fig:, and eq:?
(reftex-label-alist seems it bit complex to me...)

Karim



Le 19 oct. 08 à 12:50, Frédéric Dupont a écrit :

Perhaps by customizing Reftex, e.g. "Reftex Section Prefixes" ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081019/310ace4f/attachment.html>


More information about the MacOSX-Emacs mailing list