|
|
@ -1483,15 +1483,22 @@ Anaconda test |
|
|
|
- Latex |
|
|
|
- pdf-tools |
|
|
|
|
|
|
|
The midnight mode hook is disabled for now, because CVs with my pic just look weird in this mode. |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(unless (string-equal my/whoami "work_remote") |
|
|
|
(use-package pdf-tools |
|
|
|
:ensure t |
|
|
|
:defer t |
|
|
|
:mode (("\\.pdf\\'" . pdf-view-mode)) |
|
|
|
:init |
|
|
|
; (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) |
|
|
|
:config |
|
|
|
(pdf-tools-install) |
|
|
|
(setq TeX-view-program-selection '((output-pdf "pdf-tools"))) |
|
|
|
(setq TeX-view-program-list '(("pdf-tools" "Tex-pdf-tools-sync-view"))) |
|
|
|
(setq pdf-view-resize-factor 1.1 ;; more finegraned zoom |
|
|
|
pdf-view-midnight-colors '("#c6c6c6" . "#363636") |
|
|
|
TeX-view-program-selection '((output-pdf "pdf-tools")) |
|
|
|
TeX-view-program-list '(("pdf-tools" "Tex-pdf-tools-sync-view"))) |
|
|
|
) |
|
|
|
) |
|
|
|
#+END_SRC |
|
|
|