If I use LuaLaTeX
lualatex -synctex=1 "main.tex"
to compile following document
\documentclass{article} \usepackage{tikz} \usetikzlibrary{fadings} \begin{document} text \end{document}
and then try to use go to the source of "text" from the resulting PDF, SyncTeX will bring me to `<texlive>\2024\texmf-dist\tex\generic\pgf\libraries\pgflibraryfadings.code.tex`.
If I compile the TeX file with XeLaTeX or pdfLaTeX, SyncTeX works fine.
I'm using the latest TeX Live. The detailed versions are
# lualatex --version This is LuaHBTeX, Version 1.18.0 (TeX Live 2024) Development id: 7611 # synctex --version This is SyncTeX command line utility, version 1.5 SyncTeX ERROR: Missing options usage: synctex <subcommand> [options] [args] Synchronize TeXnology command-line client, version 1.21 # using `/listfiles` command. *File List* article.cls 2023/05/17 v1.4n Standard LaTeX document class size10.clo 2023/05/17 v1.4n Standard LaTeX file (size option) tikz.sty 2023-01-15 v3.1.10 (3.1.10) pgf.sty 2023-01-15 v3.1.10 (3.1.10) pgfrcs.sty 2023-01-15 v3.1.10 (3.1.10) pgfrcs.code.tex pgfcore.sty 2023-01-15 v3.1.10 (3.1.10) graphicx.sty 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR) keyval.sty 2022/05/29 v1.15 key=value parser (DPC) graphics.sty 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR) trig.sty 2021/08/11 v1.11 sin cos tan (DPC) graphics.cfg 2016/06/04 v1.11 sample graphics configuration luatex.def 2022/09/22 v1.2d Graphics/color driver for luatex pgfsys.sty 2023-01-15 v3.1.10 (3.1.10) pgfsys.code.tex pgfsyssoftpath.code.tex 2023-01-15 v3.1.10 (3.1.10) pgfsysprotocol.code.tex 2023-01-15 v3.1.10 (3.1.10) xcolor.sty 2023/11/15 v3.01 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration mathcolor.ltx pgfcore.code.tex pgfcomp-version-0-65.sty 2023-01-15 v3.1.10 (3.1.10) pgfcomp-version-1-18.sty 2023-01-15 v3.1.10 (3.1.10) pgffor.sty 2023-01-15 v3.1.10 (3.1.10) pgfkeys.sty pgfkeys.code.tex pgfmath.sty pgfmath.code.tex pgffor.code.tex tikz.code.tex l3backend-luatex.def 2024-03-14 L3 backend support: PDF output (LuaTeX) ts1cmr.fd 2023/04/13 v2.5m Standard LaTeX font definitions supp-pdf.mkii epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live ***********
I tried replacing "fadings" with TikZ libraries "calendar", "decorations", and "backgrounds", and all of them work fine with SyncTeX. However, "shadows" also causes SyncTeX to lead me to the `...\pgflibraryfadings.code.tex` file. I didn't test other TikZ libraries.
With more complex latex document than I was editing, the behavior of SyncTeX when using it with "LuaLaTeX" and "fadings" is different (and incorrect), but I can't find the minimal example.
I'm not sure where I should report this bug, please move the post if necessary.