|
|
@ -73,12 +73,12 @@ |
|
|
|
(projectile-mode t)) |
|
|
|
;; helm-projectile: |
|
|
|
(use-package helm-projectile |
|
|
|
:after projectile |
|
|
|
:ensure t |
|
|
|
:init |
|
|
|
(progn |
|
|
|
(require 'tramp) |
|
|
|
) |
|
|
|
:config (helm-projectile-on)) |
|
|
|
(require 'tramp) |
|
|
|
:config |
|
|
|
(helm-projectile-on)) |
|
|
|
;; temp: |
|
|
|
(setq ido-enable-flex-matching t) |
|
|
|
;; dash-board: |
|
|
@ -122,26 +122,47 @@ |
|
|
|
(use-package tex |
|
|
|
:defer t |
|
|
|
:ensure auctex |
|
|
|
:config |
|
|
|
:init |
|
|
|
(progn |
|
|
|
(setq TeX-auto-save t) |
|
|
|
(setq latex-run-command "pdflatex") |
|
|
|
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin/")) |
|
|
|
(setq exec-path (append exec-path '("/Library/TeX/texbin/"))) |
|
|
|
) |
|
|
|
(setq-default TeX-master nil) ; Query for master file. |
|
|
|
(setq TeX-auto-save t) ; Enable parse on save. |
|
|
|
(setq latex-run-command "pdflatex") |
|
|
|
(setq TeX-parse-self t) ; Enable parse on load. |
|
|
|
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin/")) |
|
|
|
(setq exec-path (append exec-path '("/Library/TeX/texbin/"))) |
|
|
|
) |
|
|
|
;;:config |
|
|
|
;; |
|
|
|
) |
|
|
|
;; Use pdf-tools to open PDF files |
|
|
|
;; (use-package pdf-tools |
|
|
|
;; :load-path "site-lisp/pdf-tools/lisp" |
|
|
|
;; :magic ("%PDF" . pdf-view-mode) |
|
|
|
;; :config |
|
|
|
;; (pdf-tools-install :no-query) |
|
|
|
;; :init |
|
|
|
;; (add-hook 'TeX-after-compilation-finished-functions |
|
|
|
;; #'TeX-revert-document-buffer) |
|
|
|
;; (setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo") |
|
|
|
;; (setq TeX-view-program-selection '((output-pdf "PDF Tools"))) |
|
|
|
;; ;; (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) |
|
|
|
;; ) |
|
|
|
|
|
|
|
(use-package pdf-tools |
|
|
|
:load-path "site-lisp/pdf-tools/lisp" |
|
|
|
:ensure t |
|
|
|
:pin melpa |
|
|
|
:magic ("%PDF" . pdf-view-mode) |
|
|
|
:config |
|
|
|
(pdf-tools-install :no-query) |
|
|
|
:init |
|
|
|
(custom-set-variables |
|
|
|
'(pdf-tools-handle-upgrades nil)) |
|
|
|
:init |
|
|
|
(setq pdf-view-midnight-colors '("#ff9900" . "#0a0a12" )) ; set the amber profile as default (see below) |
|
|
|
(add-hook 'TeX-after-compilation-finished-functions |
|
|
|
#'TeX-revert-document-buffer) |
|
|
|
(setq TeX-view-program-selection '((output-pdf "PDF Tools")) |
|
|
|
TeX-source-correlate-start-server t) |
|
|
|
(setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo") |
|
|
|
(setq TeX-view-program-selection '((output-pdf "PDF Tools"))) |
|
|
|
;; (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) |
|
|
|
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -406,14 +427,15 @@ |
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
'(custom-safe-themes |
|
|
|
(quote |
|
|
|
("bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default))) |
|
|
|
("99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default))) |
|
|
|
'(package-selected-packages |
|
|
|
(quote |
|
|
|
(org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex))) |
|
|
|
'(pdf-tools-handle-upgrades nil) |
|
|
|
'(safe-local-variable-values |
|
|
|
(quote |
|
|
|
((set-fill-column . 5000) |
|
|
|
((LaTeX-includegraphics-read-file . LaTeX-includegraphics-read-file-relative) |
|
|
|
(set-fill-column . 5000) |
|
|
|
(set-fill-column . 2000) |
|
|
|
(TeX-auto-save . t) |
|
|
|
(TeX-parse-self . t) |
|
|
|