Waleed Yousef
2018-07-22 04:43:14 UTC
Hello,
I have never been successful in configuring the reftex extra
key-bindings. This is my .emacs part:
(use-package reftex
:init
(setq reftex-extra-bindings t) ;;does not function well!!
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq
reftex-auto-recenter-toc t
reftex-default-bibliography '("~/MyDocuments/Phd/texmf/bibtex/bib/base/publications.bib" "~/MyDocuments/Phd/texmf/bibtex/bib/base/booksIhave.bib")
reftex-bibpath-environment-variables (quote ("BIBINPUTS" "TEXBIB" "~/MyDocuments/Phd/texmf/bibtex/bib/base/"))
reftex-cite-format (quote natbib)
reftex-label-alist (quote(
("axiom" ?x "axm:" "~\\ref{%s}" t ("axiom") -2)
("theorem" ?h "thm:" "~\\ref{%s}" t ("theorem") -3)))
reftex-insert-label-flags (quote ("sftxh" "nil"))
reftex-multiref-punctuation (quote ((44 . ", ") (45 . "--") (43 . ", and ")))
reftex-plug-into-AUCTeX t
reftex-ref-style-default-list (quote ("Default" "Hyperref"))
reftex-sort-bibtex-matches (quote author)
reftex-toc-include-file-boundaries t
reftex-toc-split-windows-fraction 0.2
reftex-toc-split-windows-horizontally t
))
I have never been successful in configuring the reftex extra
key-bindings. This is my .emacs part:
(use-package reftex
:init
(setq reftex-extra-bindings t) ;;does not function well!!
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq
reftex-auto-recenter-toc t
reftex-default-bibliography '("~/MyDocuments/Phd/texmf/bibtex/bib/base/publications.bib" "~/MyDocuments/Phd/texmf/bibtex/bib/base/booksIhave.bib")
reftex-bibpath-environment-variables (quote ("BIBINPUTS" "TEXBIB" "~/MyDocuments/Phd/texmf/bibtex/bib/base/"))
reftex-cite-format (quote natbib)
reftex-label-alist (quote(
("axiom" ?x "axm:" "~\\ref{%s}" t ("axiom") -2)
("theorem" ?h "thm:" "~\\ref{%s}" t ("theorem") -3)))
reftex-insert-label-flags (quote ("sftxh" "nil"))
reftex-multiref-punctuation (quote ((44 . ", ") (45 . "--") (43 . ", and ")))
reftex-plug-into-AUCTeX t
reftex-ref-style-default-list (quote ("Default" "Hyperref"))
reftex-sort-bibtex-matches (quote author)
reftex-toc-include-file-boundaries t
reftex-toc-split-windows-fraction 0.2
reftex-toc-split-windows-horizontally t
))