-
Committer:
st.loeffler
-
Date:
2014-07-12 19:55:30 UTC
-
Revision ID:
svn-v4:9a2a4a0b-1251-0410-9248-99fc04669920:trunk:1379
Implement character-level synchronization
Uses simple string searching in the line returned by SyncTeX.
Open problems:
* \commands (and possibly other TeX codes) are not handled in any special way
* changes to the TeX file (without retypesetting) may lead to wrong synchronization (due to out-dated SyncTeX data)
* Poppler seems to mess up the beginning and end of footnotes
* Certain ambiguous cases could be solved by evaluating substring positions (e.g., using a diff-like algorithm)