[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] amsopn.el
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] amsopn.el |
Date: |
Thu, 28 Feb 2013 23:21:27 +0100 |
Hi Mads,
2013/2/28 Mads Jensen <address@hidden>:
> I tested the changes, but had a bit of trouble getting
> LaTeX-auto-regexp-list stuff to work properly. Adding "0-9" to the
> regular expression does not work, and "[A-Za-z]+[0-9]*" is not
> successful, either; names such as \Log10 are valid, though.
The regex "\\\\DeclareMathOperator{?\\\\\\([A-Za-z0-9]+\\)}?" works
for me. You may want to change `DeclareMathOperator' (and its
starred version) first argument to something like
`(TeX-arg-define-macro "Operator")', as well.
Bye,
Mosè Giordano