Make PDF tools and LaTeX work better together.
Update the README file to reflect the available flags.
This commit is contained in:
parent
d7e054a8cc
commit
0a23c30e06
3 changed files with 58 additions and 39 deletions
|
@ -12,20 +12,3 @@
|
|||
(setq-default pdf-view-display-size 'fit-page)
|
||||
;; turn off cua so copy works
|
||||
(add-hook! 'pdf-view-mode-hook (cua-mode 0)))
|
||||
|
||||
|
||||
(when (featurep! :lang latex)
|
||||
(after! latex
|
||||
;; add to the program list
|
||||
(add-to-list 'TeX-view-program-selection
|
||||
'(output-pdf "PDF Tools"))
|
||||
(add-to-list 'TeX-view-program-list
|
||||
'("PDF Tools" ("TeX-pdf-tools-sync-view")))
|
||||
|
||||
;; enable document revert
|
||||
(add-hook 'TeX-after-compilation-finished-functions
|
||||
#'TeX-revert-document-buffer)
|
||||
|
||||
;; correlated mode
|
||||
(setq TeX-source-correlate-start-server t
|
||||
TeX-source-correlate-mode t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue