Re: [zathura] Synctex support disabled by default now?
Hi Sebastian, Am 03.02.2016 um 14:06 schrieb 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 ___ zathura mailing list zathura@lists.pwmt.org https://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support disabled by default now?
Thanks for the information Sebastian. I have submitted this to the Arch package bug tracker: https://bugs.archlinux.org/task/48010 Caleb Sebastian Ramacher wrote: Hi Jakob On 2016-02-03 13:35:49, Jakob Hetzelein wrote: 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. 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 ___ zathura mailing list zathura@lists.pwmt.org https://lists.pwmt.org/mailman/listinfo/zathura ___ zathura mailing list zathura@lists.pwmt.org https://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support disabled by default now?
Hi Jakob On 2016-02-03 13:35:49, Jakob Hetzelein wrote: > 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. 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 ___ zathura mailing list zathura@lists.pwmt.org https://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
On Sun, Mar 03, 2013 at 02:27:59AM +0100, Sebastian Ramacher wrote: >> 1. The changelog says that version 0.2.2 (2013/1/20) implements >>synctex forward synchronization. > > No, it's not fully implemented yet. Backwards synchronization should > work, but forward synchronization is still work-in-progress. > >> 2. Can I use counts with scroll bindings. (I.e. 10j should go 10 >>lines down.) > > Now you can, thanks to Marwan. Thanks, I'll pull the patch. (And watch the change log for synctex updates.) GI -- DOS (n.): A small annoying boot virus that causes random spontaneous system crashes, usually just before saving a massive project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS. ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
On 2013-03-02 13:14:16, gi1242+zath...@gmail.com wrote: > Hi All, > > Thanks a lot for zathura! I love it, and use it as my primary PDF > viewer. I had two questions though: > > 1. The changelog says that version 0.2.2 (2013/1/20) implements >synctex forward synchronization. I've been gleefully waiting for >this so I can rid myself of xdvi completely. However I couldn't >find any documentation detailing the forward synchronization. Is >it implemented? If yes, how do I get it running. (I'm happy to >use an xdotool hack if needed.) No, it's not fully implemented yet. Backwards synchronization should work, but forward synchronization is still work-in-progress. > 2. Can I use counts with scroll bindings. (I.e. 10j should go 10 >lines down.) Now you can, thanks to Marwan. Regards -- Sebastian Ramacher ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
Are there any news in synctex support? I am really looking forward to this feature and I am very grateful to all developers. Thank you very much for your effort. I really appreciate your work. patrik On Fri, Apr 13, 2012 at 10:11:42AM +0200, Roland Schatz wrote: > > Although I don't think I would be able to implement that, I would > > warmly recommend against adopting unneeded complexity layers like > > dbus, which is deployed, e.g., for evince's syntex support. > > I'm sure that working with command line arguments, like the good old > > xkdvi does, would be just better. > In my original solution (see https://github.com/rschatz/zathura-synctex, > but that is based on an old version of zathura), I used just commandline > arguments and keyboard input. > > I added two commandline options: > -s --synctexEnable synctext support. > -x --editor-command Synctex editor (this flag is forwarded to > the synctex -x option) > > Backwards synchronization is easy: > When you ctrl-click on the document, "synctex edit -o > ::: -x " is executed. > > Forwards synchronization works with a new command: > The ":synctex [] " command executes "synctex > view -i '::' -o ''", parses the > result and draws the resulting data. > This command is can then be used in conjunction with "xdotool", e.g. I > have a little vim script that sends the required keystrokes to the > zathura window when I press . > > But the "xdotool" solution feels like a hack, especially since it > doesn't work when the state of zathura isn't right (e.g. someone typed > ':' before, so the resulting command will be '::synctex ...'. > > I'm open to any suggestions how to do this better. I'm sure there must > be some clean and easy solution without adding complex things like dbus ;) > > > At the moment, I'm really busy (paper deadline today), and then I'm on > holiday. After I come back, I'll look into porting synctex support to > the new version of zathura... > ___ > zathura mailing list > zathura@lists.pwmt.org > http://lists.pwmt.org/mailman/listinfo/zathura smime.p7s Description: S/MIME cryptographic signature ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
> Although I don't think I would be able to implement that, I would > warmly recommend against adopting unneeded complexity layers like > dbus, which is deployed, e.g., for evince's syntex support. > I'm sure that working with command line arguments, like the good old > xkdvi does, would be just better. In my original solution (see https://github.com/rschatz/zathura-synctex, but that is based on an old version of zathura), I used just commandline arguments and keyboard input. I added two commandline options: -s --synctexEnable synctext support. -x --editor-command Synctex editor (this flag is forwarded to the synctex -x option) Backwards synchronization is easy: When you ctrl-click on the document, "synctex edit -o ::: -x " is executed. Forwards synchronization works with a new command: The ":synctex [] " command executes "synctex view -i '::' -o ''", parses the result and draws the resulting data. This command is can then be used in conjunction with "xdotool", e.g. I have a little vim script that sends the required keystrokes to the zathura window when I press . But the "xdotool" solution feels like a hack, especially since it doesn't work when the state of zathura isn't right (e.g. someone typed ':' before, so the resulting command will be '::synctex ...'. I'm open to any suggestions how to do this better. I'm sure there must be some clean and easy solution without adding complex things like dbus ;) At the moment, I'm really busy (paper deadline today), and then I'm on holiday. After I come back, I'll look into porting synctex support to the new version of zathura... ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
Hi > As zathura has undergone major changes we can't just merge it. Are you > interested in porting synctex support to 0.1.0? If you need any help I'm > available to guide you through the new code. I'm still interested. I'll have a look at the new code to see how to port it. The backwards synchronization should theoretically be easy, since that's just a program that needs to be exec'd in response to some mouse shortcut (ctrl-click in my setup). The forwards synchronization interacts with the rendering code, so it is probably a bit harder. The only problem is that at the moment I don't have much time I can dedicate to this, so it might take a while ;) Best wishes, Roland ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura
Re: [zathura] Synctex support
Hi Roland, since 0.1.0 is out now, I'd like to get things going again and start working on synctex support. On 22/08/11 14:22, Roland Schatz wrote: > If you're interested, integrating it back into mainline should be easy, > since it's based on a recent GIT snapshot. I have no clue about the > legal stuff, so just in case, you have my permission to do with my > patches whatever you want :). As zathura has undergone major changes we can't just merge it. Are you interested in porting synctex support to 0.1.0? If you need any help I'm available to guide you through the new code. Cheers ___ zathura mailing list zathura@lists.pwmt.org http://lists.pwmt.org/mailman/listinfo/zathura