summaryrefslogtreecommitdiff
path: root/init_latex.el
diff options
context:
space:
mode:
Diffstat (limited to 'init_latex.el')
-rw-r--r--init_latex.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/init_latex.el b/init_latex.el
deleted file mode 100644
index 7500166..0000000
--- a/init_latex.el
+++ /dev/null
@@ -1,17 +0,0 @@
-;; Function obtained from https://wiki.archlinux.org/index.php/Emacs#SyncTeX_support
-
-(defcustom tex-my-viewer "zathura --fork -s -x \"emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory \"'\"'\"%{input}\"'\"'\")) (goto-line %{line}))'\""
- "PDF Viewer for TeX documents. You may want to fork the viewer
-so that it detects when the same document is launched twice, and
-persists when Emacs gets closed.
-
-Simple command:
-
- zathura --fork
-
-We can use
-
- emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory \"%{input}\")) (goto-line %{line}))'
-
-to reverse-search a pdf using SyncTeX. Note that the quotes and double-quotes matter and must be escaped appropriately."
-:safe 'stringp)
Copyright 2019--2024 Marius PETER