GeneralHow to jump to correct page in Yap?

General information and discussion about TeXnicCenter
Post Reply
migdalskiy
Posts: 4
Joined: Sun Sep 27, 2009 1:40 am

How to jump to correct page in Yap?

Post by migdalskiy »

I'm moving from LeD to TeXnicCenter, and I can't find how to set up TeXnicCenter so that preview jumps directly to the paragraph I'm typing.

In LeD, double-clicking the paragraph will highlight it in the preview. In TeXnicCenter, I had to page through Yap to find the page, and in a large document it's very annoying.

Is it possible in TeXnicCenter at all, or did I just not configure Yap correctly?

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: How to jump to correct page in Yap?

Post by localghost »

TeXnicCenter (TXC) in its current version doesn't support forward DVI search in this way. Remember that LEd has a built-in DVI viewer which supports this feature and it doesn't use Yap.


Best regards
Thorsten
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Re: How to jump to correct page in Yap?

Post by MartinC »

Of course, TXC supports dvi forward search. Just put this as forward search in the dvi build profile:

-1 -s %l"%bm.tex" "%bm.dvi"
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to jump to correct page in Yap?

Post by localghost »

This works but it's only a special command line argument for Yap thus independent of the editor. Moreover it is a default setting in the concerned build profile. And this is not what migdalskiy meant.
migdalskiy wrote:[...] In LeD, double-clicking the paragraph will highlight it in the preview. [...]
This special feature as requested is not supported by TXC at the moment.
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Re: How to jump to correct page in Yap?

Post by MartinC »

Just type F5 or click the View Output button and you jump to the corresponding position in Yap.

Also, the "Wizard" in the Build Profile dialog will configure it automatically.
Post Reply