I created a portable Emacs + LaTeX setup which can be used with flash drive. I keep the SumatraPDF folder under the same folder as Emacs folder. Since this setup is portable, I tried to specify the inverse search setting without an absolute path.
"%~dp0..\emacs_root\bin\emacsclientw.exe" -n +%l "%f"
is what I used but it didn’t work. Basically what I want was passing where current SumatraPDF folder is and based on that set a relative path specifying where emacs binary is.
So my question is: Is there a way to use auto expansion in inverse search setting based on where current SumatraPDF folder is?
Update: grammar. fixed a typo