Templates, Wizards & ToolsProblem with Forward Search LaTex => DVI

Information and discussion about TeXnicCenter document/project templates and wizards and other tools and extensions for TeXnicCenter
Post Reply
nfarnoud
Posts: 5
Joined: Thu Jan 29, 2009 9:47 pm

Problem with Forward Search LaTex => DVI

Post by nfarnoud »

Hi
I have some problems with Forward Search in TeXnicCenter output view (using YAP): Forward search doesn't always work the way it should.

For example, consider the following document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}
...
\begin{document}
...
\input{sec-00-Abstract}
\input{sec-01-Introduction}
...
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
If I bring the cursor to the first line (\documentclass) and press F5 it takes me to the first page of the output file in YAP, which is what I want. But if I move the cursor to the '\input{sec-00-Abstract}' it does NOT take me to that section (instead the YAP output automatically points to page 22(!) of my document).
The Reverse Search from YAP to TeXnicCenter works fine all the time.

Can anyone help me with this problem please?

These are the settings for my Build=> Define Outputs

*** Profiles : LaTex => DVI
** Viewer Tab **
-- View Project's Output : Command Line Argument : -1 "%bm.dvi"
-- Forward Search : Command Line Argument : -1 -s %l"%Wc" "%bm.dvi"

Many Thanks,
Noushin

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