 ;; (add-to-list 'org-latex-packages-alist '("" "color"))
 
 ;; reftex settings
+(use-package reftex
+  :commands turn-on-reftex
+  :init
+  (setq reftex-plug-into-AUCTeX t))
+
 (defun org-mode-reftex-setup ()
   ;; (load-library "reftex")
   (require 'reftex)


;;; ** auctex
;;set xetex mode in tex/latex
(add-hook 'LaTeX-mode-hook
	  (lambda()
	    (add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil t))
	    (setq TeX-command-default "XeLaTeX")
	    (setq TeX-save-query nil)
	    (setq TeX-show-compilation t)
	    ))
(setq LaTeX-item-indent 0)
(setq TeX-newline-function 'newline-and-indent)

;;; ** perl


(setenv "PATH" (concat "~/zion/racket/racket/bin:" (getenv "PATH")))
(setenv "PATH" (concat "/Library/Tex/texbin:" (getenv "PATH")))
(setq exec-path (split-string (getenv "PATH") ":"))

;;; ** evil-leader
;; should set before enable evil-mode
