I'm in a situation where I'm building my LaTeX with a script that preprocesses my .Tex files, producing new ones as output that are then compiled with latexmk.

Ideally, the synctex files will point to the original, not the generated output, so that I can easily jump between my viewer and editor.

Assuming that the generated files correspond to the original ones line by line, or that I have some way to find the matching lines between them, is there a way to easily edit the produced synctex file to point to the right thing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.