I’ve been succesfully using Sumatra PDF together with Sublime Text 3 for half a year now, but now, the inverse search has suddenly stopped working. The .tex files I am using are located in my OneDrive for Business directory, which is "C:\Users\me\OneDrive - InstitutionName\"
.
As mentioned, the inverse search has worked perfectly for some time, but now Sumatra PDF cuts off the file name after "OneDrive -"
, so Sublime then proceds to open a new file "C:\Users\me\OneDrive -"
instead of my .tex file. I have tested that Sublime opens the file at the correct line, so the ":%l"
part is included after the shortened file path. I have verifyed this by changing the inverse search command to notepad "%f:%l"
, which results in a prompt to create a new file.
The inverse search command I use, which worked for quite some time, is
"C:\Program Files (x86)\Sublime Text 3\subl.exe" "%f:%l"
Sumatra is launched from Sublime Text, using the following command (according to the Sublime console):
"'C:\Program Files\SumatraPDF\SumatraPDF.exe' -reuse-instance -forward-search 'C:\Users\me\OneDrive - InstitutionName\currentFile.tex' 86 'C:\Program Files (x86)\Sublime Text 3\Data\Packages\cache\main.pdf'"
Any idea on how i can fix this?