2016-02-09 22:05 GMT+01:00 Antoine Levitt <[email protected]>: > > > On 9 February 2016 at 21:51, Mosè Giordano <[email protected]> wrote: >> >> Hi Antoine, >> >> 2016-02-09 21:40 GMT+01:00 Antoine Levitt <[email protected]>: >> > Hi, >> > >> > I use Mate (a fork of Gnome), and because of their general renaming of >> > things, evince is atril, and gnome is mate. Search & replacing evince to >> > atril and gnome to mate in tex.el makes it work. Could auctex support it >> > out >> > of the box? >> >> Great, you chose exactly the viewer with most mentions in tex.el! Did >> you have to replace also strings like >> >> /org/gnome/evince/Daemon >> >> to >> >> /org/mate/atril/Daemon >> >> ? > > > Yes. I just did a brutal search & replace. I also had to make one more > change: there's a change of API apparently, and I had to remove the last > argument, :uint32 0, in the dbus call > (list :struct :int32 (line-number-at-pos) :int32 (1+ (current-column))) > :uint32 0)) > > Here's the full diff to auctex 11.89.1 (the one in ELPA). Tested and working > with Atril 1.8.1 (the one in linux mint 17.1).
Thank you, please find attached the patch I wrote following what I suggested in my previous message. I'm not inclined to change the name of the viewer entry in `TeX-view-program-list-builtin', so that users need only to change the new option `TeX-evince-gnome' (better names welcome) and customizing both `TeX-evince-gnome' and `TeX-view-program-selection' at the same time may led to strange situations (but I didn't test this actually). Tassilo, could you please take a look at the patch? Bye, Mosè _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
