summaryrefslogtreecommitdiff
path: root/init/km-tex.el
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-04-20 02:22:06 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-04-20 02:22:06 -0400
commit58ed43ac257c8f1585a034f1e04fd1ca35884695 (patch)
tree0cd6d22b81ae1e99f6bc6b41b1b09efcc0b967a3 /init/km-tex.el
parent18755b3721cdeedad7beb20610d758004b2ce533 (diff)
downloademacs.d-58ed43ac257c8f1585a034f1e04fd1ca35884695.tar.gz
cleaning up
Diffstat (limited to 'init/km-tex.el')
-rw-r--r--init/km-tex.el23
1 files changed, 1 insertions, 22 deletions
diff --git a/init/km-tex.el b/init/km-tex.el
index 5cf362f..633f63f 100644
--- a/init/km-tex.el
+++ b/init/km-tex.el
@@ -5,26 +5,6 @@
"/usr/texbin" ":"
(getenv "PATH")))
-;; for viewing in-frame
-;;http://www.sigmafield.org/2009/10/03/using-doc-view-with-auto-revert-to-view-latex-pdf-output-in-emacs/
-;;(setq TeX-PDF-mode t)
-;;(add-hook 'doc-view-mode-hook 'auto-revert-mode)
-
-;; reftex
-;; mostly from http://www.kieranhealy.org/esk/starter-kit-latex.html
-;; (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
-;; (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 AUCTeX LaTeX mode
-;; (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
-
-;; ;; Make RefTeX faster
-;; (setq reftex-enable-partial-scans t)
-;; (setq reftex-save-parse-info t)
-;; (setq reftex-use-multiple-selection-buffers t)
-
;; commented out the rest of it because something was causing it to
;; prompt for master file in org mode
(defun km/org-mode-reftex-setup ()
@@ -32,8 +12,7 @@
;; (and (buffer-file-name)
;; (file-exists-p (buffer-file-name))
;; (reftex-parse-all))
- (define-key org-mode-map (kbd "C-c [") 'reftex-citation)
- )
+ (define-key org-mode-map (kbd "C-c [") 'reftex-citation))
(add-hook 'org-mode-hook 'km/org-mode-reftex-setup)