Hi!
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
Viewers for PDF, PS, and DVI ⇒ Problems with SumatraPDF and TexnicCenter
-
- Posts: 2
- Joined: Sun Aug 05, 2012 11:36 am
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problems with SumatraPDF and TexnicCenter
I can only offer the settings which work for me flawlessly (see attachment). Pay attention to the settings at the mouse cursor.
Best regards and welcome to the board
Thorsten
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 17018 times
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
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?
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:
Thanks for your help.
Best regards
Mathias
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? […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10