🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Charlie Zender Tue, 13 Jun 2006 07:01
Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs?
#12013
Author: Charlie Zender
Date: Tue, 13 Jun 2006 07:01
32 lines
2169 bytes
Hi,

I starting using Emacs with 'kdvi-search and LaTeX with --src-specials
so that I get "reverse search" capabilities when between my KDVI viewer
and my Emacs .tex buffer. I work on a number of long .tex files and find
this ability very useful. My question is if/how to get this working with
TeXInfo?

I tried adding a "texinfo-mode-hook" a la the working LaTeX mode hook
for kdvi-search but Emacs texinfo mode seems not to understand it.
Yes, I am sure the Texinfo-generated DVI contains the necessary 
--src-specials
information (next version of texi2dvi will pass through the --src-specials
command straight to TeX, for now I just export TEX='tex --src-specials').
Does anyone have reverse search working on Texinfo-generated DVIs?

Thanks,
Charlie

;; 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 :)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads