Hi,

"\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): http://tex.stackexchange.com/a/325871/4736

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 
offered.

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?

Regards,

Alexander



_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to