Skip to content

Instantly share code, notes, and snippets.

@barik
Created July 19, 2012 03:47
Show Gist options
  • Save barik/3140646 to your computer and use it in GitHub Desktop.
Save barik/3140646 to your computer and use it in GitHub Desktop.
Sumatra PDF with Emacs
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(TeX-PDF-mode t)
'(TeX-master nil)
'(TeX-source-correlate-method (quote synctex))
'(TeX-source-correlate-mode t)
'(TeX-source-correlate-start-server (quote ask))
'(TeX-view-program-list (quote (("Sumatra PDF" ("\"C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe\" -reuse-instance" (mode-io-correlate " -forward-search %b %n") " %o")))))
'(TeX-view-program-selection (quote (((output-dvi style-pstricks) "dvips and start") (output-dvi "Yap") (output-pdf "Sumatra PDF") (output-html "start"))))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment