Today I did a little bit more testing. This included mainly the compilation of different files directly to PDF with the default profiles. The issue that occurred concerns the call of SumatraPDF as viewer. The viewer appears quite normal at first sight with the document displayed. But very soon TXC comes up with an error message.

- Error message from TXC after calling SumatraPDF as viewer.
- TXC2alpha1-pdfviewer-sumatrapdf.png (7.93 KiB) Viewed 2759 times
This made me take a closer look at the profiles but at first sight nothing seemed faulty to me. Finally these profiles where generated by default and I assumed that they would be correct. I remembered a blog where configuration of SumatraPDF with several editors is described [1]. And there I found the solution. The profiles have to be corrected slightly by enabling Synctex as seen below (please note the mouse cursor).

- Modified output profile with Synctex enabled and SumatraPDF as viewer.
- TXC2alpha1-pdflatex-profile-modified.png (46.78 KiB) Viewed 2759 times
Thus there is a supplement needed in the command line arguments for the compiler.
Code: Select all
-synctex=-1 -interaction=nonstopmode -max-print-line=120 "%pm"
I compiled again and now forward and reverse search in PDF with TXC and SumatraPDF works fine.
To cut a long story short, the reason why I described this here is to give a little help to those struggling with that and to give a hint to the developers. Perhaps they can give a short feedback.
[1]
william.famille-blum.org news - Configuring editors with SumatraPDF
Best regards
Thorsten