help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs?


From: Charlie Zender
Subject: Re: Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs?
Date: Tue, 13 Jun 2006 11:23:08 -0700
User-agent: Thunderbird 1.5.0.2 (X11/20060522)

Reiner Steib wrote:
On Tue, Jun 13 2006, Charlie Zender wrote:

Does anyone have reverse search working on Texinfo-generated DVIs?

WFM, with AUCTeX's texinfo mode.

When I use AUCTeX's texinfo mode I can click on the DVI and it
will open an emacs window with the source buffer positioned at
the correct location. What I would like to get working is the
the reverse, i.e., the ability to stay in my Emacs source buffer
and execute an Emacs command that causes the DVI to move to the
location corresponding to the point in the source buffer.
Do you have that working? If so, please send exact commands.

Here's what I tried but this fails with AucTeX texinfo mode (works
fine with LaTeX and TeX modes, though):

;; KDVI compatibility for reverse search 20060529
(add-to-list 'load-path (expand-file-name "~/elisp/"))
(require 'kdvi-search)
(add-hook 'LaTeX-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line))) (add-hook 'tex-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line))) (add-hook 'texinfo-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line)))


--
Charlie Zender, surname@uci.edu, Department of Earth System Science
3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]