I am using TeXstudio 2.8.8 (hg 4829:72faf905aaf1) in Mac Yosemite 10.10.2.
The "go to source" does not always lead me to the right place in the source code when I draw pictures using TikZ. Sometimes it even leads me to the macro files of the TikZ packages which I am not supposed to see and revise. It works fine when a typesetted page does not contain picture wrapped by \begin{tikzpicture}\end{tikzpicture}. "Go to source" is my favorite function of TeXstudio. Hope it will be fixed soon. Thanks very much!!
Most likely, this is a limitation of synctex. I suspect that we won't be able to do anything about this. Anyway, if you provide a minimal example we can have a look.
From: [bugs:#1225]
Related
Bugs:
#1225From: [bugs:#1225]
Related
Bugs:
#1225From [bugs:#1229]
see attachments there.
Related
Bugs:
#1229Your synctex file contains multiple content sections. Except the last one, all of them refer to tag 94 which is pgflibraryfadings.code.tex. When I compile here, I do only get a single content section which corresponds to your last one (gotosource.tex). All the sections referfing to pgflibraryfadings.code.tex are not there. I have no idea where the additional content sections come from in your case. According to the synctex format definition, there should only be one content section: http://manpages.ubuntu.com/manpages/lucid/man5/synctex.5.html
Thanks very much for your time and efforts. I just updated all of my TeXLive-2014 packages and compiled the file again. The problem remains. I guess I will just temporarily switch to TeXShop (although I do like TeXStudio better) for the paper that I am working on. Thanks again!!
I just changed the default compiler from pdflatex to xelatex and then everything functioned perfectly!! Thanks!!
I have the same problem. I can also reproduce the problem from the snippet posted above and compiled via lualatex (texlive 2018).
Addendum: I stumbled upon this https://github.com/jlaurens/synctex/issues/2 does this have anything to do with frontend (texstudio) or the compiler (lualatex)?