Emacs: Remove pdf-tools.
This commit is contained in:
parent
6230215acf
commit
ae8c15f62e
|
@ -1,6 +1,6 @@
|
|||
;;; latex.el --- Settings for LaTeX. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2019-10-14T15:25:22+00:00>
|
||||
;; Time-stamp: <2019-11-14T23:33:19+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
|||
(use-package tex-site
|
||||
:ensure auctex
|
||||
:if (executable-find "xetex")
|
||||
:after (pdf-tools)
|
||||
:functions (TeX-revert-document-buffer)
|
||||
|
||||
:custom
|
||||
|
@ -17,10 +16,6 @@
|
|||
(TeX-auto-save t) ; Enable parse on save
|
||||
(TeX-PDF-mode t) ; PDF mode (rather than DVI-mode)
|
||||
(TeX-engine 'xetex)
|
||||
;; To use pdf-tools with auctex.
|
||||
;; <https://emacs.stackexchange.com/a/21764/21935>
|
||||
(TeX-view-program-selection '((output-pdf "PDF Tools")))
|
||||
(TeX-view-program-list '(("PDF Tools" TeX-pdf-tools-sync-view)))
|
||||
|
||||
:mode
|
||||
("\\.tex\\'" . LaTeX-mode)
|
||||
|
@ -39,14 +34,5 @@
|
|||
(LaTeX-mode . company-auctex-init)
|
||||
)
|
||||
|
||||
;; View PDF files.
|
||||
(use-package pdf-tools
|
||||
:custom
|
||||
(pdf-misc-print-programm "/usr/bin/lpr")
|
||||
|
||||
:mode
|
||||
("\\.pdf\\'" . pdf-tools-install)
|
||||
)
|
||||
|
||||
(provide 'text/latex)
|
||||
;;; latex.el ends here
|
||||
|
|
Loading…
Reference in New Issue
Block a user