
Estou tentando configurar minha instalação do spacemacs para usá-lo com reftex. Na verdade, quero alterar os rótulos automáticos da equação e tal para que incluam o nome do arquivo no rótulo. O final do meu .spacemacs é o seguinte
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
[snip]
'(reftex-extra-bindings t)
'(reftex-use-external-file-finders t)
'(reftex-label-alist
(quote
(("multline" 109 "eq_%f:" "~\\ref{%s}" t ("Equation"))
("equation" 122 "eq_%f:" "~\\eqref{%s}" t ("Equation")))))
'(reftex-plug-into-AUCTeX t)
'(ring-bell-function (quote ignore)))
O mesmo código no emacs funciona perfeitamente. No spacemacs não consigo obter numeração automática e nem mesmo o prefixo com o nome do arquivo.
Qualquer ideia ?
Responder1
Conforme mencionado por Arah, basta alterar o número da linha 158 ./.emacs.d/layers/+lang/latex/packages.el
de
(setq reftex-plug-into-AUCTeX '(nil nil t t t))
para
(setq reftex-plug-into-AUCTeX t)