diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-01-12 12:44:44 -0500 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-01-12 13:56:01 -0500 |
commit | 96ee4bd0bd7b5cc8a6d9ca918ede26e82a9b20a7 (patch) | |
tree | 9065fbcdd65c7c80dbc15859d9ea6dd8507b256d /conf/km-tex.el | |
parent | f5b226cae165532ed34ffefd7d003d10d984f004 (diff) | |
download | emacs.d-96ee4bd0bd7b5cc8a6d9ca918ede26e82a9b20a7.tar.gz |
glob init files files for loading
Diffstat (limited to 'conf/km-tex.el')
-rw-r--r-- | conf/km-tex.el | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/conf/km-tex.el b/conf/km-tex.el deleted file mode 100644 index 1c69dbd..0000000 --- a/conf/km-tex.el +++ /dev/null @@ -1,42 +0,0 @@ -;;; add path for pdflatex -(getenv "PATH") -(setenv "PATH" - (concat - "/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 () - (load-library "reftex") - ;; (and (buffer-file-name) - ;; (file-exists-p (buffer-file-name)) - ;; (reftex-parse-all)) - (define-key org-mode-map (kbd "C-c [") 'reftex-citation) - ) - -(add-hook 'org-mode-hook 'km/org-mode-reftex-setup) - -(setq reftex-default-bibliography - (quote - ("~/refs/refs.bib"))) |