branch: externals/auctex commit 16f3dd415aa0ef1c870f9724dda9f895f2467133 Author: Mosè Giordano <m...@gnu.org> Commit: Mosè Giordano <m...@gnu.org>
Add support for Zathura viewer * tex.el (TeX-view-program-list-builtin): Add Zathura. * doc/changes.texi: Mention Zathura support and reworked error parsing. --- doc/changes.texi | 8 ++++++++ tex.el | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/doc/changes.texi b/doc/changes.texi index 2905400..b4d5954 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -12,6 +12,14 @@ @itemize @bullet @item +Parsing of the compilation log has been reworked. You should encounter +fewer mistaken files while navigating through errors and warnings. + +@item +Added support for Zathura viewer. Forward and inverse search requires a +recent version of the program to work (3.4 or later). + +@item A new function, @code{TeX-documentation-texdoc}, for reading documentation with @samp{texdoc} has been added. @code{TeX-doc} is still available but now @kbd{C-c ?} runs diff --git a/tex.el b/tex.el index 3633fd3..ee11202 100644 --- a/tex.el +++ b/tex.el @@ -1304,7 +1304,12 @@ the requirements are met." " -p %(outpage)")) " %o")) "evince") ("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open" "xdg-open %o" "xdg-open") - ("PDF Tools" TeX-pdf-tools-sync-view)))) + ("PDF Tools" TeX-pdf-tools-sync-view) + ("Zathura" + ("zathura %o" + (mode-io-correlate + " --synctex-forward %n:0:%b -x \"emacsclient +%{line} %{input}\"")) + "zathura")))) "Alist of built-in viewer specifications. This variable should not be changed by the user who can use `TeX-view-program-list' to add new viewers or overwrite the