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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have bigger TeX document and I'm using srcbook with the following customisations:


I compile activating the generation of synctex:

main.pdf:  main.tex
        pdflatex -synctex=1 -file-line-error -interaction nonstopmode main

However I'm not able to do forward and backward search neither in Linux nor in a Mac. This is quite puzzling, since it doesn't happen with other styles (article, etc. )

share|improve this question

closed as too localized by Qrrbrbirlbel, Xavier, Heiko Oberdiek, Werner, Claudio Fiandrino Jun 24 '13 at 6:09

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you have spaces in the file path? SyncTeX doesn't like that. – marczellm Feb 5 '13 at 14:55
paag:latex paag$ synctex edit -o 11:1:1:main-DC5.pdf This is SyncTeX command line utility, version 1.2 paag:latex paag$ synctex edit -o 4:1:1:main-DC5.pdf This is SyncTeX command line utility, version 1.2 SyncTeX result begin Output:main-DC5.pdf Input:/Users/paag/tmp/test/latex/./main-DC5.tex Line:238 Column:-1 Offset:0 Context: SyncTeX result end – Pedro A. Aranda Feb 14 '13 at 8:56