auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] exam class, automatically labels and refs


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] exam class, automatically labels and refs
Date: Sat, 13 Jun 2015 12:07:47 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>    > Uwe Brauer <address@hidden> writes:
>    > Hi Uwe,
>
>
>    > I don't see what's the problem.  I just tested it and the labels are
>    > added as expected so that I can add \refs with C-c ).
>
>
> That is maybe a misunderstanding, 
>
>     - automatically inserted: when I type LaTeX-section I obtain
>       automatically without doing anything
>       \section{this}
>       \label{sec:this}.

Ah, ok.  Then write a style file for exam and define as last argument
definition of the \question macro `reftex-label'.

  (TeX-add-symbols '("question" "Title" ["Points"] reftex-label))

Bye,
Tassilo



reply via email to

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