General ⇒ Forward seach in included documents does not work
Forward seach in included documents does not work
I did not find a proper solution to this problem so far.
I am using TexnicCenter in combination with Sumatra PDF and I configured it as stated below. This forward and inverse search works fine within the main file, but fails when it is used in an included file.
Structure:
Main file
blabla
\include{chapter1}
The error msg in Sumatra shows that sumatra fails to open "chapter1.pdf".
I don't really understand it, because I thought that %bm states, that the name of the main file should be used.
I would be thankful for any advice.
Best
Paul
TeXnic-Center configuration:
Path of the compiler: C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\pdflatex.exe
Arguments that are handed to the compiler:
synctex=-1 -max-print-line=120 -interaction=nonstopmode "%pm"
(-max print argument has no influence on this problem)
Viewer:
C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
Command line input: "%bm.pdf"
DDE-Command
[ForwardSearch("%bm.pdf","%Wc",%l,0)]
Server: sumatra Topic: control
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis