[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] [problems with TeX-arg-ref]
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] [problems with TeX-arg-ref] |
Date: |
Thu, 17 Nov 2016 10:49:56 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Hi Arash
> Uwe Brauer <address@hidden> writes:
> I assume you mean `C-c C-e equation RET', but that's not the point.
Right, my nad
> It is all there, you just have to hook your environments into RefTeX
> with `reftex-add-label-environments' and you're done. The first 2
> variables should go into `tex-style.el' once you're finished. Append
> environments where you want the automatic label insertion to the first
> `(envs '("questions"))'.
> ;;; Code:
> (defcustom LaTeX-exam-reftex-quick-id-key ?x
> "Unique letter identifying exam class macros in RefTeX.
> A character argument for quick identification when RefTeX inserts
> new labels with `reftex-label'. It must be unique. It is
> initialized to ?x."
> :group 'LaTeX-style
> :type 'character)
> (defcustom LaTeX-exam-label "exm:"
> "Default prefix to labels in environments of exam class."
> :group 'LaTeX-style
> :type 'string)
Cool, really. I run a small test and it is precisely what I was looking
for. Thanks a zillion.
I think now you should be the author. I mean all the complicated
stuff has been done by you. I could be the maintainer.
- [AUCTeX-devel] [problems with TeX-arg-ref] (was: patch for exam class), (continued)
- [AUCTeX-devel] [problems with TeX-arg-ref] (was: patch for exam class), Uwe Brauer, 2016/11/14
- Re: [AUCTeX-devel] [problems with TeX-arg-ref] (was: patch for exam class), Mosè Giordano, 2016/11/14
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Uwe Brauer, 2016/11/14
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Mosè Giordano, 2016/11/15
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Uwe Brauer, 2016/11/15
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Arash Esbati, 2016/11/16
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Uwe Brauer, 2016/11/16
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Mosè Giordano, 2016/11/16
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Uwe Brauer, 2016/11/16
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Arash Esbati, 2016/11/17
- Re: [AUCTeX-devel] [problems with TeX-arg-ref],
Uwe Brauer <=
- Re: [AUCTeX-devel] [problems with TeX-arg-ref], Arash Esbati, 2016/11/17