Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling path names with special characters #78

Open
cerja opened this issue Mar 10, 2024 · 3 comments
Open

Handling path names with special characters #78

cerja opened this issue Mar 10, 2024 · 3 comments

Comments

@cerja
Copy link

cerja commented Mar 10, 2024

Problem:

If the path to the synctex file (*.synctex.gz) contains non ASCII characters the synchronization between the compiled .pdf and source code is broken. This means that if the .tex file being worked on is in a folder, which name includes special characters, or indeed any upstream folder includes special characters, synchronization won't work. This seems to pertain to different combinations of multiple editors (TexWorks, TexStudio ...) and multiple LaTex distributions (MikTex, TeX Live ...).

This complicates things quite a lot for all non English speaking communities and would be greatly appreciated if it was resolved (renaming one folder is not a big problem, but renaming all upstream ones can break many other things).

If, however, this is not a direct deficiency of synctex, I apologize in advance.

@jlaurens
Copy link
Owner

Are you on windows?

@cerja
Copy link
Author

cerja commented Mar 11, 2024

Yes, I forgot to mention that.

@jlaurens
Copy link
Owner

If you have the synctex command line tool, you can try to typeset some foo.tex which full path contains non ascii characters, the you can try to execute

synctex.exe edit 1:2:3:foo.pdf

What is the output ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants