Hi,
just installed TXC 2.0 (64bit) and Sumatra 2.3.2 on Windows 7.
Despite having tried all suggestions in http://latex-community.org/forum/viewto ... 31&t=22586 and http://latex-community.org/forum/viewto ... 31&t=22293, I can't get the forward and inverse search working properly with Sumatra (which is a pity, since having these features working was the only reason to install Sumatra in the first place, tried Adobe Acrobat 11 before without success).
Compilation works fine, Sumatra is opened and the PDF looks fine as well. However, TXC gives me the 'cannot execute command' error related to the forward search command.
My settings in the viewer tab in the "Build -> Define Output Profiles" menu:
Executable Path:
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
View Project's Output:
DDE command:
"%bm.pdf"
server: sumatra, topic: control
Forward search:
DDE command:
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
server: sumatra, topic: control
Close document before running LaTeX:
Do not close
Also the inverse search doesn't word: nothing happens when double clicking the PDF. The inverse search command line within Sumatra is set to:
"C:\Program Files\TeXnicCenter\TeXnicCenter.exe" /ddecmd "[goto('%f','%l')]"
(which is the result of having the viewer executable path within TNC set to:
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\"")
Any ideas why both forward and inverse search do not work?
(Tips to get these working for Adobe Acrobat are welcome as well )
General ⇒ Forward and inverse Search
-
- Posts: 7
- Joined: Wed Jun 02, 2010 4:39 pm
Re: Forward and inverse Search
Problem solved uninstalling both MiKTeX 2.9 (32 bit) and TeXnicCenter 2.0 (64 bit). I installed MiKTeX 2.9 (64 bit) and TeXnicCenter 2.0 (64 bit), choosing all default options during installation. Everything works like a charm now, no build settings adapted.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Forward and inverse Search
Starting TeXnicCenter (TXC), pressing Alt+F7 and starting the wizard to rebuild the profiles would have been much easier and faster. I don't think that migrating from 32bit to 64bit for MiKTeX makes the difference.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 7
- Joined: Wed Jun 02, 2010 4:39 pm
Forward and inverse Search
Trust me, I tried that before going for the rigourous approach. Some build profiles made by the wizard (or during installation of TNC) are different with the new Miktex installed. (Can't verify the exact differences anymore since 32 bit Miktex was uninstalled of course.) have to agree though that it is at least surprising that Miktex affects the viewer behavior/settings that much. anyway: still glad everything works now.localghost wrote:Starting TeXnicCenter (TXC), pressing Alt+F7 and starting the wizard to rebuild the profiles would have been much easier and faster. I don't think that migrating from 32bit to 64bit for MiKTeX makes the difference.
Thorsten
Re: Forward and inverse Search
LaTex
Run LaTex in this profile
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe
-synctex=-1 -interaction=nonstopmode "%Wm"
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\bibtex.exe
"%tm"
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\makeindex.exe
"%tm.idx" -t "%tm.ilg" -o "%tm.ind"
For viewer tab
DDE command selected in both tab . Then write this code.
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe"
"%bm.pdf"
SUMATRA
Control
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
SUMATRA
Control
Happy Latex setting
BHAVNESH- PANCHAL
bhanu1arya@gmail.com
Run LaTex in this profile
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe
-synctex=-1 -interaction=nonstopmode "%Wm"
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\bibtex.exe
"%tm"
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\makeindex.exe
"%tm.idx" -t "%tm.ilg" -o "%tm.ind"
For viewer tab
DDE command selected in both tab . Then write this code.
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe"
"%bm.pdf"
SUMATRA
Control
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
SUMATRA
Control
Happy Latex setting
BHAVNESH- PANCHAL
bhanu1arya@gmail.com