all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs?
@ 2006-06-13  7:01 Charlie Zender
  2006-06-13  8:29 ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: Charlie Zender @ 2006-06-13  7:01 UTC (permalink / raw)


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 :)

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

end of thread, other threads:[~2006-06-13 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-06-13 21:05     ` David Kastrup

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.