You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before building, I cd in the directory where the example.tex file is located.
The content of /home/myname/.config/zathura/zathurarc is
set synctex true
set synctex-editor-command "gvim --remote-silent +%{line} %{input}"
The backward search is performed by ctrl-left clicking on the pdf opened in zathura.
Some notes:
forward search works, backwards search does not.
By running e.g. gvim --remote-silent +52 /home/myname/tests/example.tex from the command line then gvim reacts as expected (jump to line 52 of /home/myname/tests/example.tex)
The file example.synctex.gz is correctly created and it is in the same folder
as example.tex and example.pdf.
I tried to build with pdflatex as well
Working on WSL2 with Ubuntu 22.04 installed
zathura v0.4.9, xelatex --version return XeTeX 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian)
Here is a screenshot where you can see what happens when I try to backwards sync:
The text was updated successfully, but these errors were encountered:
ubaldot
changed the title
Synctex backward search not working on WLS2: execv error: No such file or directory
Backward search not working on WLS2: execv error: No such file or directory
Sep 17, 2024
As per title. I build the pdf with the following command:
latexmk -pdf -xelatex -synctex=1 -interaction=nonstopmode /home/myname/tests/example.tex
Before building, I
cd
in the directory where theexample.tex
file is located.The content of
/home/myname/.config/zathura/zathurarc
isThe backward search is performed by ctrl-left clicking on the
pdf
opened inzathura
.Some notes:
gvim --remote-silent +52 /home/myname/tests/example.tex
from the command line then gvim reacts as expected (jump to line 52 of/home/myname/tests/example.tex
)example.synctex.gz
is correctly created and it is in the same folderas
example.tex
andexample.pdf
.pdflatex
as wellzathura v0.4.9
,xelatex --version
returnXeTeX 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian)
Here is a screenshot where you can see what happens when I try to backwards sync:
The text was updated successfully, but these errors were encountered: