linuxmint / xreader

A generic Document Reader
GNU General Public License v2.0
217 stars 62 forks source link

Add the support for SyncteX #56

Open KevinNadaud opened 8 years ago

KevinNadaud commented 8 years ago

Hi, I'm using Latexila and I would like to know if it is possible to add the support of syncTeX in Xreader. Evince has the support of syncTeX so it may be only necessary to copy a part of the code ?

Regards

Piiit commented 8 years ago

@KevinNadaud This should already work. Maybe you use synctex functions that are not provided in the older version of synctex used in xreader, currently with the last github-version we use synctex 1.17. Could you provide how you do it with evince... What happens if you try the very same with xreader?

KevinNadaud commented 7 years ago

I am using latexila as latex editor. To jump to the pdf from latexila, I use ctrl+left click in the late editor. If evince is installed, it open evince and display the selected area in the pdf. If evince is not installed, a error is displayed to install evince. If I just open the pdf with latexila, it open it with xreader, but synctex is not available.

Do I need to change some settings for synctex ?

I firstly made a bug report for latexila but the maintainer said to me that it may come from xreader. https://bugzilla.gnome.org/show_bug.cgi?id=772237

How can I know the version of synctex I use ?

Piiit commented 7 years ago

@KevinNadaud I never used synctex with xreader, but the evince documentation should give you some hints. Latexila has maybe no configuration for xreader...

KevinNadaud commented 7 years ago

The evince documentation does not give really usefull tips. It just gives the compilation command line to enable synctex, but not how to choose the viewer. I will try to see with the latexila maintainer if some options need to be change in latexila.