From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charlie Zender Newsgroups: gmane.emacs.help Subject: Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs? Date: Tue, 13 Jun 2006 00:01:32 -0700 Organization: University of California at Irvine Message-ID: <448E62CC.4030909@uci.edu> Reply-To: zender@uci.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150184481 18062 80.91.229.2 (13 Jun 2006 07:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2006 07:41:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 13 09:41:19 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fq3WK-0005q5-UC for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 09:41:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fq3WK-0003is-Am for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 03:41:04 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!news.usc.edu!news.service.uci.edu!not-for-mail Original-Newsgroups: comp.text.tex,gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: ip68-109-196-84.oc.oc.cox.net User-Agent: Thunderbird 1.5.0.2 (X11/20060522) Original-Xref: shelby.stanford.edu comp.text.tex:329098 gnu.emacs.help:139793 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35417 Archived-At: 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 :)