GNOME Bugzilla – Bug 662690
Update to newer synctex 1.17
Last modified: 2011-11-17 01:32:54 UTC
Sorry, the TeX people messed with filenames in texlive 2011 and are now using absolute paths. And they for some reason insert /./ into them, which Synctex cannot cope with. But there's been updates to Synctex svn to make it work again. see here, e.g.: http://tex.stackexchange.com/questions/25578/why-is-synctex-in-tl-2011-so-fussy-about-filenames synctex library log 1.17: Fri Oct 14 08:15:16 UTC 2011 This concerns the synctex command line tool and 3rd party developers. TeX and friends are not concerned by these changes. - synctex_parser.c: cosmetic changes to enhance code readability - Better forward synchronization. The problem occurs for example with LaTeX \item command. The fact is that this command creates nodes at parse time but these nodes are used only after the text material of the \item is displayed on the page. The consequence is that sometimes, forward synchronization spots an irrelevant point from the point of view of the editing process. This was due to some very basic filtering policy, where a somehow arbitrary choice was made when many different possibilities where offered for synchronisation. Now, forward synchronization prefers nodes inside an hbox with as many acceptable spots as possible. This is achieved with the notion of mean line and node weight. - Adding support for the new file naming convention with './' + function synctex_ignore_leading_dot_slash_in_path replaces synctex_ignore_leading_dot_slash + function _synctex_is_equivalent_file_name is more permissive Previously, the function synctex_scanner_get_tag would give an answer only when the given file name was EXACTLY one of the file names listed in the synctex file. The we added some changes accepting for example 'foo.tex' instead of './foo.tex'. Now we have an even looser policy for dealing with file names. If the given file name does not match exactly one the file names of the synctex file, then we try to match the base names. If there is only one match of the base names, then it is taken as a match for the whole names. The base name is defined as following: ./foo => foo /my///.////foo => foo /foo => /foo /my//.foo => /my//.foo
Hi, thanks for taking the time of filing a new bug. I'll update git master soon to the latest version of synctex. However, this will be in the next major version of evince (3.4) greetings
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Reopening since I need to check that this indeed does not break with older versions of texlive, and if so, we can also update this into the gnome-3-2 branch
Ok, I checked that the new version of synctex does not break other versions of texlive (2010) and pushed to gnome-3-2 branch, so closing again.