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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply