LaTeX forum ⇒ Viewers for PDF, PS, and DVIProblems with SumatraPDF and TexnicCenter Topic is solved

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
mathias2012
Posts: 2
Joined: Sun Aug 05, 2012 11:36 am

Problems with SumatraPDF and TexnicCenter

Postby mathias2012 » Sun Aug 05, 2012 11:56 am

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

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sun Aug 05, 2012 6:47 pm

I can only offer the settings which work for me flawlessly (see attachment). Pay attention to the settings at the mouse cursor.

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. […]

I do it nonetheless (because it is a FAQ).



Best regards and welcome to the board
Thorsten
Attachments
TXC2alpha4-Profiles-PDFLaTeX-Viewer.png
Flawlessly working settings for the Sumatra PDF viewer in TXC2a4 (on Wind0ws XP SP3).
TXC2alpha4-Profiles-PDFLaTeX-Viewer.png (43.83 KiB) Viewed 6175 times
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

mathias2012
Posts: 2
Joined: Sun Aug 05, 2012 11:36 am

Postby mathias2012 » Sun Aug 05, 2012 8:22 pm

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:
  1. -synctex=-1 -interaction=nonstopmode "%Wm"


Thanks for your help.


Best regards
Mathias

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sun Aug 05, 2012 8:56 pm

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? […]

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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Viewers for PDF, PS, and DVI”

Who is online

Users browsing this forum: No registered users and 3 guests