Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I typeset a journal issue, I first make the seperate articles, and I join them together (adding the Table of Contents and other stuff, that's irrelevant now).

When I read the final issue.pdf, I often find small mistakes in the articles. However, the Jump to Source in context menu in TeXworks brings me only to the instruction \includepdf in issue.tex, and not to the correct file a1/art1.tex.

Is there any way how to correctly join all the .synctex.gz files generated by all the articles and the issue itself, so that the forward-inverse-search works as I would like?

I appreciate partial or non-automated solutions and ideas as well.

MWE: File issue.tex


This is an issue 42 of Journal of funny \TeX\@ questions.\\
Article One, on page 2\\
Article Two, on page 4



MWE: File a1/art1.tex


Some text. Some text. Some text.

Other page of article one.

MWE: File a2/art2.tex


Some text. Some text. Some text.

Other page of article two.
share|improve this question
I don't see easy ways to do it. –  egreg Nov 24 '13 at 0:05
@egreg Well, SyncTeX is able to step in files that are \input or \included. So it might be possible to just correctly mix the XML files. After all, I keep, to some extent, the proper page numbering and stuff. I wanted to know whether there's anything done in this direction. If not, I'll consider seeing what can be done. –  tohecz Nov 24 '13 at 0:09
I don't think there is anything. But .synctex files are not XML. –  egreg Nov 24 '13 at 0:10
Damn, you're again right. I've always thought they are... –  tohecz Nov 24 '13 at 0:19
Tom is there any reason that you can't use combine or standalone? –  Harish Kumar Nov 24 '13 at 0:42
show 1 more comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.