Second attempt to fix forward/backward synchronization#5562
Merged
Conversation
Reverts previous commit to fix bug in a clean environment. This reverts commit 97c242d.
Update synctex to vanilla synctex 2026-1 (v1.31) for further bug fix. This commit partly reverts commit 8c85283 . Some compare: jlaurens/synctex@ded1157...82f46b6 jlaurens/synctex@7a58bbc...82f46b6
1. A/W windows API 2. revert attribute-related marco to 2023.4 (upstream c3641da)
Supports: - ASCII or ansi in path, - plain or gz sync file, - compiled by "pdflatex, xelatex" or "lualatex" (utf-8 or ansi in file content).
Collaborator
|
@kjk just a basic comment that you can test the effect very easily by set echo as a substitute for the editor
This will ensure CMD sees the correct CHCP coding for the users environment (Chinese in this case=936 , can be 65001 for ISO, etc etc) also will show if %f in CMD mandates "%f" (for windows filenames with spaces) that would break the unguarded cmd call and also show if %c was ever set but SumatraPDF is not expected to support that variable. |
Contributor
Author
|
The synctex in this repo is not vanilla. Patches in commit 374896d have been sent to upstream. |
Member
|
thanks! |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This probably fix #5410
Main Fix:
414df7a
Test files:
SYNCXYZ.zip
Test record:
2026-04-20.15-46-55-cut.mp4