Discussion:
[zathura] Synctex support disabled by default now?
Jakob Hetzelein
2016-02-03 12:35:49 UTC
Permalink
Dear zathura community,

yesterday, Arch Linux shipped the new version of zathura (0.3.4) and
included the patch¹ that was posted by Leonardo in its build script².

When I tried to use zathura with synctex today, I couldn't get it to
work. I used the same framework [vimtex] as yesterday, the only
difference being the new version of zathura.

This is what happens:
zathura -x "vim --servername VIM --remote +\%{line} \%{input}"
/home/jakob/masterthesis/masterthesis.pdf
error: Error parsing command line arguments: Unknown option -x

I described it all in a little more detail in a vimtex issue³.

Am I right in concluding that the new patch disables synctex support by
default now? How to enable it at compile time? Sorry if the answer to
this is obvious but I'm no expert at compiling programmes myself and
didn't find it in the README nor could I get it from the Makefile.

Best wishes and thanks for this awesome programme,

Jakob

¹ http://article.gmane.org/gmane.comp.editors.zathura/564
²
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/zathura
³ https://github.com/lervag/vimtex/issues/338
Sebastian Ramacher
2016-02-03 13:06:47 UTC
Permalink
Hi Jakob
Post by Jakob Hetzelein
yesterday, Arch Linux shipped the new version of zathura (0.3.4) and
included the patch¹ that was posted by Leonardo in its build script².
When I tried to use zathura with synctex today, I couldn't get it to
work. I used the same framework [vimtex] as yesterday, the only
difference being the new version of zathura.
zathura -x "vim --servername VIM --remote +\%{line} \%{input}"
/home/jakob/masterthesis/masterthesis.pdf
error: Error parsing command line arguments: Unknown option -x
I described it all in a little more detail in a vimtex issue³.
Am I right in concluding that the new patch disables synctex support by
default now? How to enable it at compile time? Sorry if the answer to
this is obvious but I'm no expert at compiling programmes myself and
didn't find it in the README nor could I get it from the Makefile.
This patch does not disable synctex by default. This patch makes zathura not
fail to build if libsynctex is not available. You need to build zathura against
libsynctex to have synctex support.

As stated in the README file:

Requirements
------------
...
libsynctex from TeXLive (optional, for SyncTeX support)

So please ask the Arch Linux maintainer to build it against libsynctex.

(We shipped a copy of libsynctex before. But now Arch Linux has a new enough
texlive that is able to build a libsynctex, so we dropped it.)

Cheers
--
Sebastian Ramacher
Caleb Maclennan
2016-02-03 14:12:17 UTC
Permalink
Thanks for the information Sebastian. I have submitted this to the Arch
package bug tracker:

https://bugs.archlinux.org/task/48010

Caleb
Post by Sebastian Ramacher
Hi Jakob
Post by Jakob Hetzelein
yesterday, Arch Linux shipped the new version of zathura (0.3.4) and
included the patch¹ that was posted by Leonardo in its build script².
When I tried to use zathura with synctex today, I couldn't get it to
work. I used the same framework [vimtex] as yesterday, the only
difference being the new version of zathura.
zathura -x "vim --servername VIM --remote +\%{line} \%{input}"
/home/jakob/masterthesis/masterthesis.pdf
error: Error parsing command line arguments: Unknown option -x
I described it all in a little more detail in a vimtex issue³.
Am I right in concluding that the new patch disables synctex support by
default now? How to enable it at compile time? Sorry if the answer to
this is obvious but I'm no expert at compiling programmes myself and
didn't find it in the README nor could I get it from the Makefile.
This patch does not disable synctex by default. This patch makes zathura not
fail to build if libsynctex is not available. You need to build zathura against
libsynctex to have synctex support.
Requirements
------------
...
libsynctex from TeXLive (optional, for SyncTeX support)
So please ask the Arch Linux maintainer to build it against libsynctex.
(We shipped a copy of libsynctex before. But now Arch Linux has a new enough
texlive that is able to build a libsynctex, so we dropped it.)
Cheers
--
Sebastian Ramacher
_______________________________________________
zathura mailing list
https://lists.pwmt.org/mailman/listinfo/zathura
Jakob Hetzelein
2016-02-03 14:30:08 UTC
Permalink
Hi Sebastian,
Post by Sebastian Ramacher
This patch does not disable synctex by default. This patch makes zathura not
fail to build if libsynctex is not available. You need to build zathura against
libsynctex to have synctex support.
thanks for your quick reply! I was sloppy in my search for errors and
didn't understand the README.

And thanks @Caleb for filing a bug report @bugs.archlinux.org!

Cheers, J

Loading...