Open dpantele opened 2 months ago
I guess it is present even in the reference test files: https://github.com/jlaurens/synctex/blob/9bc51bb1824aecef45791b8683ffd44c06cdc37a/synctex%20test%20files/test%20files/luatex/sample.synctex#L174
Thanks for reporting.
I will report to the luatex developers in some near future, when enhancements to synctex are ready for the other engines.
FYI, it concerns support of math surround space, more accurate line numbers for math nodes and box nodes, and a new \synctexmark
feature to retrieve some information from the synctex
file.
Thanks! Another report about the same: https://tex.stackexchange.com/q/709094
New features looks promising.
Would it be feasible to actually enable tracking characters as well? Sycntex format supports that, but that is not implemented in any engine AFAIK. I am happy to open another issue if needed.
Tracking characters must be properly defined. There are difficulties when compound characters come into play. Moreover, this leads to heavy calculation/storage.
When compiling a trivial doc
we get the following synctex kern nodes in the .synctex file:
kTAG,LINE:H,V:WIDTH
compare to pdflatex:
pdflatex seems accurate, but luatex often produces huge numbers as tags and other attributes on longer files, as if there is some memory corruption.