SyncTeX not working right with LuaLaTeX in TeX Live
kakuto at jcom.zaq.ne.jp
Wed Jan 19 05:49:27 CET 2022
On 2022/01/19 7:45, Benedikt Wilde wrote:
> I am experiencing an issue with SyncTeX and LuaLaTeX in TeX Live. When I run `lualatex` with `-synctex=1`, the synchronization between the PDF and the TeX file does not work correctly. For example, typesetting the attached example file and Ctrl + Clicking on the "1" in the resulting PDF in the TeXstudio previewer takes me to the `3` in the source. In real documents the difference can be much larger.
> Searching online I found a matching bug report in TeXstudio's bug tracker from three years ago  but it has long been closed as the people there deemed it to be a bug in TeX Live. As I could not find anything else (but the issue is still present in an up to date TeX Live), I also asked a question about it on Stack Exchange with some more detail .
That was a bug in lua[...]tex on Windows in TeX Live due to my mistake.
Sorry for the inconvenience. Here the bug is fixed. Please wait for the TeX Live 2022.
More information about the tex-live