branch: externals/auctex
commit 00d94386b6b4d0a7cdf4aef0f82a2952227d5d88
Author: Arash Esbati <[email protected]>
Commit: Mosè Giordano <[email protected]>
Add support for dviout viewer
* doc/changes.texi: Mention support for dviout on Windows.
* tex.el (TeX-view-program-list-builtin): Add support for dviout
on Windows. This setup works for `TeX-source-correlate-method'
set to (dvi . source-specials).
Reorder " %o" in entry for SumatraPDF.
Signed-off-by: Mosè Giordano <[email protected]>
---
doc/changes.texi | 11 +++++++++++
tex.el | 5 +++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/doc/changes.texi b/doc/changes.texi
index b0c666b..f13a8b1 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -16,6 +16,17 @@ Parsing of the compilation log has been reworked. You
should encounter
fewer mistaken files while navigating through errors and warnings.
@item
+Added support for dviout viewer on Windows. Note that this setup works
+when @code{TeX-source-correlate-method} is set to use
+@samp{source-specials} for @acronym{DVI}, e.g.:
+@lisp
+(setq TeX-source-correlate-method
+ '((dvi . source-specials)
+ (pdf . synctex)))
+@end lisp
+which is the default.
+
+@item
Added support for SumatraPDF viewer on Windows.
@item
diff --git a/tex.el b/tex.el
index 3c11786..090965eb 100644
--- a/tex.el
+++ b/tex.el
@@ -1270,9 +1270,10 @@ the requirements are met."
(cond
((eq system-type 'windows-nt)
'(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
+ ("dviout" ("dviout -1 %d" (mode-io-correlate "\"# %n %b\"")) "dviout")
("SumatraPDF"
- ("SumatraPDF -reuse-instance %o"
- (mode-io-correlate " -forward-search \"%b\" %n"))
+ ("SumatraPDF -reuse-instance"
+ (mode-io-correlate " -forward-search \"%b\" %n") " %o")
"SumatraPDF")
("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
("start" "start \"\" %o")))
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel