From: Charlie Zender <zender@uci.edu>
Subject: Re: Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs?
Date: Tue, 13 Jun 2006 11:23:08 -0700 [thread overview]
Message-ID: <448F028C.5000406@uci.edu> (raw)
In-Reply-To: <v93be9o3vc.fsf@marauder.physik.uni-ulm.de>
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 :)
next prev parent reply other threads:[~2006-06-13 18:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-13 7:01 Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs? Charlie Zender
2006-06-13 8:29 ` Reiner Steib
2006-06-13 18:23 ` Charlie Zender [this message]
2006-06-13 21:05 ` David Kastrup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=448F028C.5000406@uci.edu \
--to=zender@uci.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).