Re: [LyX/master] Add some notes on forward/reverse search with evince.

2017-07-18 Thread Jürgen Spitzmüller
Am Dienstag, den 18.07.2017, 09:31 +0200 schrieb Jürgen Spitzmüller:
> No copyright issues. The scripts are GPL-licensed. And they are
> > written
> > in Python ;-)
> 
> Except for one (a bash script). But it would be easy to rewrite this
> one in python as well.

I've done a (rough) conversion of the bash script to python and
committed the three scripts to 3rdparty/evince_sync.

I would appreciate if someone could check and improve the python code.
It works for me, but I am sure it is rather ugly.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [LyX/master] Add some notes on forward/reverse search with evince.

2017-07-18 Thread Jürgen Spitzmüller
Am Montag, den 17.07.2017, 19:35 +0200 schrieb Jürgen Spitzmüller:
> No copyright issues. The scripts are GPL-licensed. And they are
> written
> in Python ;-)

Except for one (a bash script). But it would be easy to rewrite this
one in python as well.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [LyX/master] Add some notes on forward/reverse search with evince.

2017-07-17 Thread Jürgen Spitzmüller
Am Montag, den 17.07.2017, 16:03 +0200 schrieb Pavel Sanda:
> FYI you have my full support to push those scripts into master and
> even ship
> it with tarball unless you fear copyright issues (3dparty dir could
> be used
> in such case). If evince worked with couple clicks only that would be
> useful.

No copyright issues. The scripts are GPL-licensed. And they are written
in Python ;-)

I'd like to test it a bit, though. I have stumbled upon it, and tweaked
it for the use with LyX, just yesterday.

Jürgen

> 
> Pavel

signature.asc
Description: This is a digitally signed message part


Re: [LyX/master] Add some notes on forward/reverse search with evince.

2017-07-17 Thread Pavel Sanda
Juergen Spitzmueller wrote:
> commit 272cb6b4648c879d7a58b87071e14b3904e3b6f4
> Author: Juergen Spitzmueller 
> Date:   Mon Jul 17 10:26:43 2017 +0200
> 
> Add some notes on forward/reverse search with evince.
> 
> Evince is a special case, since it provides f/r search not via command
> line switches and pref settings, but via DBUS. On Linux at least, this
> can be used by LyX via some external scripts. The possibility is now
> mentioned here, the details (and the scripts) are provided on the wiki.

FYI you have my full support to push those scripts into master and even ship
it with tarball unless you fear copyright issues (3dparty dir could be used
in such case). If evince worked with couple clicks only that would be useful.

Pavel


Re: [LyX/master] Add some notes on forward/reverse search with evince.

2017-07-17 Thread Jean-Marc Lasgouttes

Le 17/07/2017 à 10:29, Juergen Spitzmueller a écrit :

commit 272cb6b4648c879d7a58b87071e14b3904e3b6f4
Author: Juergen Spitzmueller 
Date:   Mon Jul 17 10:26:43 2017 +0200

 Add some notes on forward/reverse search with evince.
 
 Evince is a special case, since it provides f/r search not via command

 line switches and pref settings, but via DBUS. On Linux at least, this
 can be used by LyX via some external scripts. The possibility is now
 mentioned here, the details (and the scripts) are provided on the wiki.



It would be great to package this via configure.py...

JMarc