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

Synctex inverse search filename spaces aren't escaped #661

Closed
jackwoodside opened this issue Mar 15, 2023 · 2 comments
Closed

Synctex inverse search filename spaces aren't escaped #661

jackwoodside opened this issue Mar 15, 2023 · 2 comments

Comments

@jackwoodside
Copy link

When setting the synctex inverse_search_command option, the variable %1 is used for the filename, however it doesn't escape spaces in the path which can lead to the command not working properly. Is it possible to change the variable to have the spaces be escaped, or have another variable %3 for it?

@ahrm
Copy link
Owner

ahrm commented Mar 15, 2023

Surrounding the %1 with ' or " (depending on your OS) doesn't help?

@jackwoodside
Copy link
Author

Surrounding the %1 with ' or " (depending on your OS) doesn't help?

Hmm using single quotes worked on the command-line but not when added to the config so it didn't seem to work, but now with double quotes it does work, thanks

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