Open your portable Texmaker and set path to external viewer as follows. Configuring Texmaker to use SumatraPDF as external PDF viewer with forward search Link to the how-to (without redirect: ) or see below:ġ.
I just made a doc describing how to setup Texmaker and SumatraPDF with forward and inverse search, but fully portable which is bit tricky. Here is a screenshot of my Texmaker configuration: ""C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe" -reuse-instance "!/%.pdf" -forward-search "!/subDirName/#.tex" then the subDirName should be identical in all projects, so this is more a workaround than a real solution. A workaround is to add the subDirName to the path manually: ""C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe" -reuse-instance "!/%.pdf" -forward-search "!/#.tex" will fail when including from a subdirectory. # for the basename of the currently active file (without path and without extension) and.