Viewers for PDF, PS, and DVI ⇒ Problems with SumatraPDF and TexnicCenter
-
- Posts: 2
- Joined: Sun Aug 05, 2012 11:36 am
Problems with SumatraPDF and TexnicCenter
I have two Computer, both running with Windows7 (64 bit). One one computer SumatraPDF and Texniccenter are working find on the other they don't. By pressing F5 after compiling the same Latex-project to view the document I get the forward-search command can not be execited.
The question is why?
***
Installed programms:
- TexnicCenter 1.0 Stable Release Candidate
- SumatraPDF v2.1.1, I downloaded it from the 'sumatraPDF-hompage'
- miktex 2.9
***
Defined profiles (under viewer) for SumatraPDF in Texniccenter:
Path (it differe between the two computers, but the rest is identical):
K:\Programme\SumatraPDF\SumatraPDF.exe -reuse-instance -inverse-search "\"K:\Programme\TeXnicCenter\TEXCNTR.EXE\" /ddecmd \"[goto('%f','%l')]\""
Next:
DDE-commmand:
[Open("%bm.pdf",0,1,1)]
Next:
DDE-command:
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
No closing before compiling.
Server: SUMATRA
Theme: control
---
Please don't answer things like: Look at this or that manual. I tried several and the point is that it is working on one computer and the other it doesn't.
Another point is that on both computer SumatraPDF forget the inverse search path to TexnicCenter
Hope you can help me.
Best regards
Mathias
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problems with SumatraPDF and TexnicCenter
I do it nonetheless (because it is a FAQ).mathias2012 wrote:[…] Please don't answer things like: Look at this or that manual. I tried several and the point is that it is working on one computer and the other it doesn't. […]
Best regards and welcome to the board
Thorsten
- Attachments
-
- Flawlessly working settings for the Sumatra PDF viewer in TXC2a4 (on Wind0ws XP SP3).
- TXC2alpha4-Profiles-PDFLaTeX-Viewer.png (43.83 KiB) Viewed 17054 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 2
- Joined: Sun Aug 05, 2012 11:36 am
Problems with SumatraPDF and TexnicCenter
Update:
I have found it:
By compiling the code there wasn't the right arguments for the compiler. The Argument for the compiler must be on the 'Latex' tab of the output profiles:
Code: Select all
-synctex=-1 -interaction=nonstopmode "%Wm"
Best regards
Mathias
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problems with SumatraPDF and TexnicCenter
TeXworks is shipped with TeX Live and MiKTeX. It has an integrated PDF viewer which supports SyncTeX for forward and inverse search out of the box.mathias2012 wrote:Thanks for your answer. Have you an idea if there is another PDF viewer which can also do inverse and forward search and show the 'new' compilation without closing? […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10