I am trying to configure TexMaker with SumatraPDF.
This has previously been discussed
Configure forward search with Texmaker + SumatraPDF
but the solutions did not work for me.
Under "Options >> Configure TexMaker >> Commands >> PDF viewer", I have entered the following
"C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe" -invert-colors -reuse-instance "%.pdf" -reuse-instance -forward-search "%.tex" @
This "almost works". When I build and view the output, I get two PDFs. One PDF is the document I wish to view. This PDF also has the correct source links so I can do an inverse search from sumatra. But SumatraPDF also tries to the same PDF file, but from the following location:
C:\users\mattlorig\documents
which is not where the document is located.
Also, I use the -invert-colors
option so that I get a black PDF with white letters.