[Top][All Lists]

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

Re: [AUCTeX-devel] Label prefix for customized environments

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] Label prefix for customized environments
Date: Sat, 19 Sep 2015 21:04:54 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Arash Esbati <address@hidden> writes:

Hi Arash,

> I have written a style for `newfloat.sty' (see attached) where I want
> to associate new env's with the respective label prefix.  My
> understandig is that this done via `LaTeX-label-alist'.  So I add new
> env's to this variable with the `LaTeX-newfloat-auto-cleanup'
> function.  When I load a tex file like below, I still get the `sec:'
> prefix for a figure-like env.  Any hint?

Most probably the label/reference handling is done by reftex not auctex
(`reftex-plug-into-AUCTeX' set to t), and then `reftex-label-alist' is
your friend.  Or rather `reftex-label-alist-builtin' in order to have
the former be completely in the user's hands.


reply via email to

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