thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

Synctex inverse search problems and related issues #481

Closed johanbluecreek closed 6 years ago

johanbluecreek commented 6 years ago

Hi,

I'm trying to get synctex up and running properly. Currently I'm trying to use zathura for viewing pdfs, and this is what I do and what I get:

In my own efforts to figure out what is wrong I tried with other pdf-viewers, and I found out something... strange is going on:

Let me know if you want a separate issue for this.

If I start zathura from a terminal, using the exact same syntax as ps supplies me with, I get that zathura refuse to start and it tells me

error: Too many arguments or missing filename while running with --synctex-forward

I tried to change to custom command as Opener again, but with st -e zathura as the custom command to see if I can get some error messages from zathura, but custom command seems to be called without synctex flags (because the syntax depends on the pdf-viewer I guess(?)).

Please let me know of possible ways to continue debugging this.

Other information: dist: Gentoo; zathura: 0.3.8; atom: 1.23.3; atom-latex: 0.50.0; electron: 1.6.16

thomasjo commented 6 years ago

@johanbluecreek It looks like you're using a custom build of Atom since version 1.23.3 ships with Electron 1.6.15. Would it be possible for you to try to reproduce the problem with the latest official release of Atom, which as of writing this is 1.29.0. Since you're on Gentoo I realize you have to build from source (or use some type of user-provided package system). Essentially I need to see if this is reproducible on an official, stable version of Atom.

Thanks for providing so many useful details! :bowing_man:

johanbluecreek commented 6 years ago

OK, testing with the official build, inverse search works. So I guess there is a bug/problem with how Gentoo builds atom or electron then. Thanks for helping me troubleshoot at least, and I suppose you can close this issue then. (and also thanks for an awesome and useful package!)

Thanks!

stale[bot] commented 6 years ago

This issue has been marked as stale because due to inactivity. It will be closed in 7 days if no further activity occurs.