unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* AUCTeX, Miktex, Yap and the inverse search
@ 2005-02-20 13:01 Daniel Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wright @ 2005-02-20 13:01 UTC (permalink / raw)


Hello All!

I've just installed Miktex and AUCTeX 11.55 under windows.

When using latex with 'TeX-source-specials-mode' the forward search
with Yap works perfectly. However, an inverse search from yap opens up
the file at the correct line, but in a NEW emacs window, how can I
tell Yap to return to the right place in the buffer I was editing in
the ORIGINAL emacs window?

At the moment yap's inverse search command is configure to ' runemacs +%l "%f" '

Is there an emacs command line option that would force it back to the
original window? I can't seem to find one, or is it worth using a
different dvi viewer?

Hope this isn't too off-topic.
Thanks in advance!
Daniel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AUCTeX, Miktex, Yap and the inverse search
       [not found] <mailman.761.1108905932.32256.help-gnu-emacs@gnu.org>
@ 2005-02-20 13:34 ` David Kastrup
  0 siblings, 0 replies; 3+ messages in thread
From: David Kastrup @ 2005-02-20 13:34 UTC (permalink / raw)


Daniel Wright <daniel.d.wright@gmail.com> writes:

> I've just installed Miktex and AUCTeX 11.55 under windows.
>
> When using latex with 'TeX-source-specials-mode' the forward search
> with Yap works perfectly. However, an inverse search from yap opens up
> the file at the correct line, but in a NEW emacs window, how can I
> tell Yap to return to the right place in the buffer I was editing in
> the ORIGINAL emacs window?
>
> At the moment yap's inverse search command is configure to '
> runemacs +%l "%f" '
>
> Is there an emacs command line option that would force it back to
> the original window? I can't seem to find one, or is it worth using
> a different dvi viewer?

You should install "gnuclient" and configure yap to use it instead of
runemacs.  If gnuclient is installed, AUCTeX should be able to start
up the necessary server inside of Emacs automatically.

For all people that use Source Specials, I should also recommend
taking a look at preview-latex
<URL:http://preview-latex.sourceforge.net>: for a lot of situations
where Source Specials might be useful, it is quite more convenient.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AUCTeX, Miktex, Yap and the inverse search
@ 2005-02-20 19:30 Daniel Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wright @ 2005-02-20 19:30 UTC (permalink / raw)


David Kastrup <dak@gnu.org> wrote:

> You should install "gnuclient" and configure yap to use it instead of
> runemacs.  If gnuclient is installed, AUCTeX should be able to start
> up the necessary server inside of Emacs automatically.

Yiiaaoow! Thanks! Now it's working like a dream :)

I downloaded gnuserv/gnuclient from:
<URL:http://www.wyrdrune.com/index.html?gnuserv.html~main>
followed the included instructions, customised 'TeX-output-view-style'
and configured yap to run with: 'gnuclientw +%l %f'

> For all people that use Source Specials, I should also recommend
> taking a look at preview-latex
> <URL:http://preview-latex.sourceforge.net>: for a lot of situations
> where Source Specials might be useful, it is quite more convenient.

Thanks for the bonus tip! I'll be checking that out in due course.

Greetings/MfG,
Daniel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-20 19:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-20 13:01 AUCTeX, Miktex, Yap and the inverse search Daniel Wright
     [not found] <mailman.761.1108905932.32256.help-gnu-emacs@gnu.org>
2005-02-20 13:34 ` David Kastrup
  -- strict thread matches above, loose matches on Subject: below --
2005-02-20 19:30 Daniel Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).