[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Support for "\Label" and "\myref"

From: AW
Subject: [AUCTeX] Support for "\Label" and "\myref"
Date: Mon, 22 Aug 2016 14:24:58 +0200
User-agent: KMail/5.2.3 (Linux/4.7.0-2-default; KDE/5.24.0; x86_64; ; )


"\Label" and "\myref" simply should in Emacs be supported like "\label" and 
"\ref". (I know, sounds like a chrismas wish :-)  )

I use these commands for a kind of abbreviated links, see here (only if you 
are interested):

Is this something difficult? I found "reftex-label-alist", but adding 

(setq reftex-label-alist
   '(("\Label{*}"   nil  "%S"  "%s" t "" 1)
     ("\myref{*}"   nil "%S"   "%s" t "" 1)))

into my .emacs did not work -- there is no support like for \ref and \label.

>From the code I posted at stackexchange I will make a local package called
"abbreviated-refs.sty". If this package is loaded, after a section command, 
when usually Emacs offers to insert a \label, instead \Label should be 

Unfortunately this is way above my skills to code lisp (it took a whole day to 
write the code for the abbreviated links in some strange new kind of LateX3).

Maybe someone can write some lines on a rainy day?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]