GeneralForward seach in included documents does not work

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Pavel-87
Posts: 2
Joined: Tue Feb 10, 2015 4:47 pm

Forward seach in included documents does not work

Post by Pavel-87 »

Dear all,

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post Reply