Hi Tassilo, Tassilo Horn <[email protected]> writes:
> Arash Esbati <[email protected]> writes: >> 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), Indeed, I have reftex plugged into AUCTeX. Thanks for the clarification. > 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. What would be best practice for a style? Update `LaTeX-label-alist' for non-reftex users and check if `reftex-label-alist' is bound and then update it? Best, Arash _______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
