SumatraPDF version
3.7.18446, pre-release 64bit is affected.
It looks like older release versions 3.6.1 and 3.5.2 work well.
Description
LaTeX reverse (backward) search does not work if the SYNCTEX file is compressed (with GZIP).
Sumatra-PDF issues a notification "No synchronisation info available"
Reproduce
I prepared a test setup: InverseSearch.zip
- Configure Sumatra-PDF for reverse search. You can use this code for debugging what is called by Sumatra-PDF:
cmd /c echo %f/%l/%c >> p:\sync.log
- Prepare the right SYNCTEX file, see below.
- Open my LaTeX-PDF file in Sumatra-PDF:
InverseSearch.pdf
- Double click somewhere in PDF.
- Sumatra-PDF comes up with a warning message. I would expect that Sumatra evokes a LaTeX reverse search here. (The experimental code should write the file name in the
sync.log file.)
In modern LaTeX the SYNCTEX file can be created with different options, compressed or uncompressed.
- uncompressed (works with Sumatra-PDF 3.7.18446, pre-release):
InverseSearch.UNCOMPRESSED.synctex
- compressed .gz file (does not work with Sumatra-PDF 3.7.18446, pre-release):
InverseSearch.GZIP.synctex.gz
- compressed .syntex file (does not work with Sumatra-PDF 3.7.18446, pre-release)
InverseSearch.COMPRESSED.synctex
I provided alternative SYNCTEX files for all these 3 cases. For testing you need to rename them to InverseSearch.synctex or InverseSearch.synctex.gz respectively.
With 3.7.18446, pre-release only the uncompressed SYNCTEX file works.
For me the Latex-Support of Sumatra-PDF is a very important feature. Although I cannot directly contribute to development I am willing to support the programmer(s) with LaTeX expertise. I can provide more LaTeX test files if desired or test other Sumatra beta versions. I even have a VisualStudio 2026 (and can use it).
Thanks
SumatraPDF version
3.7.18446, pre-release 64bit is affected.
It looks like older release versions 3.6.1 and 3.5.2 work well.
Description
LaTeX reverse (backward) search does not work if the SYNCTEX file is compressed (with GZIP).
Sumatra-PDF issues a notification "No synchronisation info available"
Reproduce
I prepared a test setup: InverseSearch.zip
cmd /c echo %f/%l/%c >> p:\sync.logInverseSearch.pdfsync.logfile.)In modern LaTeX the SYNCTEX file can be created with different options, compressed or uncompressed.
InverseSearch.UNCOMPRESSED.synctexInverseSearch.GZIP.synctex.gzInverseSearch.COMPRESSED.synctexI provided alternative SYNCTEX files for all these 3 cases. For testing you need to rename them to
InverseSearch.synctexorInverseSearch.synctex.gzrespectively.With 3.7.18446, pre-release only the uncompressed SYNCTEX file works.
For me the Latex-Support of Sumatra-PDF is a very important feature. Although I cannot directly contribute to development I am willing to support the programmer(s) with LaTeX expertise. I can provide more LaTeX test files if desired or test other Sumatra beta versions. I even have a VisualStudio 2026 (and can use it).
Thanks