Je serais très reconnaissant si quelqu'un peut donner des conseils sur la création d'un menu Ref dans la barre de menu dans GNU Emacs.RefTex dans la barre de menu emacs
Q: Comment obtenir RefTeX pour créer un menu Ref dans la barre de menu d'emacs? Ou est-ce possible sur Windows? Le manuel RefTeX dit "sur les systèmes qui supportent cela", mais il n'indique pas quels systèmes. Auparavant, j'ai travaillé sur un Mac OSX, en utilisant Aquamacs et avoir cette référence dans la barre de menu.
Tout conseil est grandement apprécié.
À côté: Windows 7, emacs version 23.1, AUCTeX, LaTeX installé.
J'ai inséré ce qui suit dans mon .emacs (je suis arrivé ce code de EmacsWiki et changé le chemin):
(require 'tex-site)
(autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase Mode" t)
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
;; (add-hook 'reftex-load-hook 'imenu-add-menubar-index)
(add-hook 'LaTeX-mode-hook '(lambda() (require 'latex-units)
(turn-on-reftex)
(turn-on-auto-fill)
(LaTeX-math-mode)
(load "preview-latex.el" nil t t)))
(setq LaTeX-eqnarray-label "eq"
LaTeX-equation-label "eq"
LaTeX-figure-label "fig"
LaTeX-table-label "tab"
TeX-auto-save t
TeX-newline-function 'reindent-then-newline-and-indent
TeX-parse-self t
TeX-style-path
'("style/" "auto/"
"C:/emacs/emacs-23.3/site-lisp/auctex/style/"
"C:/emacs/emacs-23.3/var/auctex/"
"C:/emacs/emacs-23.3/site-lisp/auctex/style/")
LaTeX-section-hook
'(LaTeX-section-heading
LaTeX-section-title
LaTeX-section-toc
LaTeX-section-section
LaTeX-section-label))
(setq reftex-cite-format 'natbib
reftex-default-bibliography
'("~/Desktop/References/MyLibrary.bib")
reftex-extra-bindings t
reftex-plug-into-AUCTeX t
reftex-sort-bibtex-matches 'year
reftex-toc-mode-hook nil)