branch: externals/auctex
commit b72dcb7b2f40d861ff90bd9bea37c4aabcc9cf9c
Author: Arash Esbati <[email protected]>
Commit: Mosè Giordano <[email protected]>
Add support for SumatraPDF viewer
* doc/changes.texi: Mention support for SumatraPDF on Windows.
Fix typos.
* tex.el (TeX-view-program-list-builtin): Add support for
SumatraPDF on Windows.
Signed-off-by: Mosè Giordano <[email protected]>
---
doc/changes.texi | 7 +++++--
tex.el | 4 ++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/changes.texi b/doc/changes.texi
index b4d5954..b0c666b 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -16,6 +16,9 @@ Parsing of the compilation log has been reworked. You should
encounter
fewer mistaken files while navigating through errors and warnings.
@item
+Added support for SumatraPDF viewer on Windows.
+
+@item
Added support for Zathura viewer. Forward and inverse search requires a
recent version of the program to work (3.4 or later).
@@ -94,10 +97,10 @@ select the Mark version to be used with new option
messages in the output log of a Mark IV document.
@item
-Support for tons of @LaTeX{} packages has been addedd.
+Support for tons of @LaTeX{} packages has been added.
@item
-Numbers of bugs have been fixed, many minor features have been addedd.
+Numbers of bugs have been fixed, many minor features have been added.
@end itemize
@heading News in 11.88
diff --git a/tex.el b/tex.el
index ee11202..3c11786 100644
--- a/tex.el
+++ b/tex.el
@@ -1270,6 +1270,10 @@ the requirements are met."
(cond
((eq system-type 'windows-nt)
'(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
+ ("SumatraPDF"
+ ("SumatraPDF -reuse-instance %o"
+ (mode-io-correlate " -forward-search \"%b\" %n"))
+ "SumatraPDF")
("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
("start" "start \"\" %o")))
((eq system-type 'darwin)
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel