> This works without problems here.  Type
>
> C-c C-e align RET
> a = & 3 + 5 M-RET
> b = & 4 + 6 C-c . C-x C-x

Here typing M-RET I get \item 

C-h k "M-RET" gives
"M-RET (translated from <escape> <return>) runs the command
LaTeX-insert-item"

This is what I have in .emacs file:
---
...
(add-hook 'LaTeX-mode-hook
                         '(lambda ()
                                 (local-set-key [return] 'newline-and-indent)
                                 (local-set-key (kbd "C-c a") 'reftex-parse-all)
                                 (local-set-key [kp-enter] 'newline)
                                 (setq compile-command "make all")))
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)  ; with AUCTeX LaTeX mode
(setq reftex-plug-into-AUCTeX t)
(setq reftex-extra-bindings t)  ; np: C-c t: toc, C-c c: citation
(setq reftex-external-file-finder
'(("tex" . "kpsewhich -format=.tex %f")
  ("bib" . "kpsewhich -format=.bib %f")))
(setq reftex-label-alist '(AMSTeX)) ; \eqref instead of \ref
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
...
(custom-set-variables
...
 '(reftex-insert-label-flags (quote ("s" "sft")))
...
---

And It seems that amsmath package is visible since when I type C-c C-e
ali TAB and align is completed. The problem is that I cannot get
\label automatically as in equation so I cannot reference to these
equations.

What is missing? Any idea?
Thanks in advance
SK



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to