<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>Hello everybody,</p>
<p>I am trying to configure a tool to launch Yap to do a forward search to the <acronym class="acronym">DVI</acronym> location corresponding to the current line of the source file <code class="filename">mydoc.tex</code>. The name of the <acronym class="acronym">DVI</acronym> file is <code class="filename">mydoc.dvi</code>. I need to be able to pass on a variable with the line number. For example, if I wanted to jump to line 41, the forward search would be initiated like this:</p>
<div class="informalexample">
<pre class="screen"><code class="prompt">C:\> </code><strong class="userinput"><code>yap -s 41mydoc.tex mydoc.dvi</code></strong></pre>
<pre class="screen"><strong class="userinput"><code><br /></code></strong></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code>For the general case I need to put in there the placeholder with current line number. But I have not been able to find how to this.</code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code><br /></code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code>I would be very grateful if someone could tell me if this possible at all and if so how to do it.</code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code><br /></code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code>Thanks in advance.</code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code><br /></code></strong></span></pre>
<pre class="screen"><span style="font-size: medium; font-family: 'arial black', 'avant garde';"><strong class="userinput"><code>Alfredo</code></strong></span></pre>
</div>
<div> </div>
</body></html>