Discussion:
[AUCTeX] zathura forward search
Mandar Mitra
2015-11-06 11:04:51 UTC
Permalink
I'm trying out zathura as a light-weight and more customisable alternative to evince. I quite like it (but hyperlink handling isn't great). I found zathura-forward-search here, and it works well.

http://tex.stackexchange.com/questions/207889/how-to-set-up-forward-inverse-searches-with-auctex-and-zathura/222099

Mose is one of the contributors to the discussion, so he already knows about this function. I'm wondering if it might be worth adding to auctex.

mandar.
Mosè Giordano
2015-11-06 11:19:02 UTC
Permalink
Hi Mandar,
Post by Mandar Mitra
I'm trying out zathura as a light-weight and more customisable alternative to evince. I quite like it (but hyperlink handling isn't great). I found zathura-forward-search here, and it works well.
http://tex.stackexchange.com/questions/207889/how-to-set-up-forward-inverse-searches-with-auctex-and-zathura/222099
Mose is one of the contributors to the discussion, so he already knows about this function. I'm wondering if it might be worth adding to auctex.
In order to include that code we would need copyright assignment from
its author. I find that was a nice solution but a bit too hackish,
regarding its inclusion in AUCTeX I don't really like it relies on
external tools.

I didn't tried again Zathura lately, I don't know if its interface
with other programs has been improved.

Bye,
Mosè
Mandar Mitra
2015-11-06 14:40:18 UTC
Permalink
Post by Mosè Giordano
In order to include that code we would need copyright assignment from
its author. I find that was a nice solution but a bit too hackish,
You mean the business of keeping an alist of (pdfname, zathura process ids) pairs, starting zathura if it is not already running for the current pdf file, etc.?
Post by Mosè Giordano
regarding its inclusion in AUCTeX I don't really like it relies on
external tools.
wmctrl? It didn't work too well for me either. I'm using an fvwm-specific workaround that will not work for everyone.

Ok, until zathura improves on these fronts then..
Mosè Giordano
2015-11-06 15:20:23 UTC
Permalink
Post by Mandar Mitra
Post by Mosè Giordano
In order to include that code we would need copyright assignment from
its author. I find that was a nice solution but a bit too hackish,
You mean the business of keeping an alist of (pdfname, zathura process ids) pairs, starting zathura if it is not already running for the current pdf file, etc.?
Post by Mosè Giordano
regarding its inclusion in AUCTeX I don't really like it relies on
external tools.
wmctrl? It didn't work too well for me either. I'm using an fvwm-specific workaround that will not work for everyone.
Yep, to both questions.
Post by Mandar Mitra
Ok, until zathura improves on these fronts then..
Of course it would be nice to support another viewer, but I find
communicating with zathura a bit uncomfortable as it is (was?).

Cheers,
Mosè
Tassilo Horn
2015-11-07 06:28:18 UTC
Permalink
Post by Mosè Giordano
Post by Mandar Mitra
Ok, until zathura improves on these fronts then..
Of course it would be nice to support another viewer, but I find
communicating with zathura a bit uncomfortable as it is (was?).
A quick google search suggested that zathura has a D-Bus interface now.

https://pwmt.org/projects/zathura/doxygen/dbus-interface_8h.html

So it should be possible to handle it pretty much like Evince. If you
want to try out using that, I'd recommend d-feet which allows you to
explore the dbus interfaces and call methods for easy testing.

Bye,
Tassilo
Mosè Giordano
2016-02-08 09:37:28 UTC
Permalink
Dear Mandar and all,

in the question linked at the beginning of this thread, JP-Ellis
reported that Zathura now supports the option "--synctex-forward" also
when the viewer is closed. I added Zathura to the default viewers,
but forward and inverse search works only with recent versions of the
program (3.4 or higher). Enjoy it!

Bye,
Mosè
Post by Mandar Mitra
I'm trying out zathura as a light-weight and more customisable alternative to evince. I quite like it (but hyperlink handling isn't great). I found zathura-forward-search here, and it works well.
http://tex.stackexchange.com/questions/207889/how-to-set-up-forward-inverse-searches-with-auctex-and-zathura/222099
Mose is one of the contributors to the discussion, so he already knows about this function. I'm wondering if it might be worth adding to auctex.
mandar.
_______________________________________________
auctex mailing list
https://lists.gnu.org/mailman/listinfo/auctex
Mandar Mitra
2016-02-09 07:20:57 UTC
Permalink
Post by Mosè Giordano
Dear Mandar and all,
in the question linked at the beginning of this thread, JP-Ellis
reported that Zathura now supports the option "--synctex-forward" also
when the viewer is closed. I added Zathura to the default viewers,
but forward and inverse search works only with recent versions of the
program (3.4 or higher). Enjoy it!
Thanks very much, Mosè!

Loading...