Templates, Wizards & Tools ⇒ Inverse search with Sumatra PDF
Inverse search with Sumatra PDF
I use texniccenter with sumatrapdf.
Problem: When performing inverse search, always a new instance of tecniccenter is opened. Apart from this, the integration works properly.
Configuration
Windows 7 (my last configuration with XP worked fine)
texniccenter 2 alpha 3,
Miktex 2.8,
SumatraPDF 1.1
Used Command:
C:\Programme\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Programme\TeXnicCenter Alpha\teXniCcenter.EXE\" /ddecmd \"[goto('%f','%l')]'\""
Many thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Inverse search with Sumatra PDF
Code: Select all
-inverse-search "\"C:\Programme\TeXnicCenter Alpha\teXniCcenter.EXE\" /ddecmd \"[goto('%f','%l')]\""
http://www.texniccenter.org/
Inverse search with Sumatra PDF
Many thanks for the immediate response. Unfortunatelly, your hint didn’t help yet. I tried
C:\Programme\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Programme\TeXnicCenter Alpha\teXniCcenter.EXE\" /ddecmd \"[goto('%f','%l')]\""
including some "magic" such as restarting texniccenter and sumatrapdf, I checked if the apostrohpe was the correct character (see the well known pdf copy&paste problem).
Maybe your last hint might help, but I do not understand it: What does "reset Sumatra PDF settings" mean?
Many thanks
Re: Inverse search with Sumatra PDF
http://www.texniccenter.org/
Re: Inverse search with Sumatra PDF
Re: Inverse search with Sumatra PDF
I have the same problem aragami postet initially. Unfortunatelly your suggestions didn't help.
Forward Search is working fine. For the inverse search sumatra opens a new texniccenter instance just with the .tex-file I was working in at this moment (I'm including several Documentparts with the \include command). In the new instance reverse search works all fine, therefore the forward search doesn't work there. It's the other way arround with the original instance, which is still open.
I googled a lot but couldn't find a satisfying solution so far.
Configuration
Windows 7
texniccenter 2 alpha 3,
Miktex 2.9,
SumatraPDF 1.7
With the command you already posted:
C:\Programme\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Programme\TeXnicCenter Alpha\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
Hints i found suggesting to replace the doublequotes with apostrophes didn't help either. Same with resetting Sumatra pdf.
Thx for your help!
Best regards
Remedy
Re: Inverse search with Sumatra PDF
Unfortunatly with updating to TeXnicCenter 2.0 alpha 4 the same behavior returned - doing a inverse search in Sumatra always opens a new instance of TeXnicCenter with just the corresponding TeX file, which i really bugging me.
I tried out all the different Tips, that I found on the net, but did not succede so far.
Did someone make it work? Or Am I the only one with this problem?