From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Re: Interacting between dvi and latex in emacs. Date: Fri, 13 Jul 2007 21:47:52 +0200 Message-ID: <20070713194752.GF31325@relwi.unibe.ch> References: <20070711194152.A12059E8788@ufc.univ-fcomte.fr> <20070713150948.GE21449@univ-fcomte.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1184356107 3976 80.91.229.12 (13 Jul 2007 19:48:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 19:48:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 21:48:25 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I9R7m-0002am-3x for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2007 21:48:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9R7l-0002PX-Pz for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2007 15:48:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9R7V-0002N6-RF for help-gnu-emacs@gnu.org; Fri, 13 Jul 2007 15:48:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9R7T-0002Lx-HD for help-gnu-emacs@gnu.org; Fri, 13 Jul 2007 15:48:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9R7T-0002Lk-Cr for help-gnu-emacs@gnu.org; Fri, 13 Jul 2007 15:48:03 -0400 Original-Received: from viefep18-int.chello.at ([213.46.255.22] helo=viefep23-int.chello.at) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9R7S-0000Is-O5 for help-gnu-emacs@gnu.org; Fri, 13 Jul 2007 15:48:03 -0400 Original-Received: from kamaloka.dhatu ([84.73.230.163]) by viefep23-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070713194800.IJIV8727.viefep23-int.chello.at@kamaloka.dhatu> for ; Fri, 13 Jul 2007 21:48:00 +0200 Original-Received: from sven by kamaloka.dhatu with local (Exim 4.63) (envelope-from ) id 1I9R7I-000687-1z for help-gnu-emacs@gnu.org; Fri, 13 Jul 2007 21:47:52 +0200 Content-Disposition: inline In-Reply-To: <20070713150948.GE21449@univ-fcomte.fr> X-Operating-System: Debian GNU/Linux 4.0 Kernel 2.6.18-4-486 User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Solaris 10 (beta) 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:45668 Archived-At: Hi David On Fri, Jul 13, 2007 at 05:09:48PM +0200, David wrote: > Hi, I have heard a rumour of some software for Mac where you can click > on your dvi file and cursor moves to the corresponding location in the > tex file. Does anyone know how to get this sort of interaction between > dvi and emacs run on Linux? That's easy. This feature is called forward and inverse search. It's explained in the AucTeX manual. If you use auctex just hit C-c C-t C-s (I don't know if this also works within the build-in tex mode). This enables the TeX-source-specials. With the source-specials on, Emacs will start xdvi with further options. xdvi will start displaying the page where the point is set in Emacs (forward search). When you click any line in xdvi simultaneously pressing Ctrl you return to Emacs with the point on the corresponding paragraph. This works also with other dvi viewers, but you have to configure them to use emacs server for inverse search. Bye, Sven > cheers > David >=20 >=20 >=20 > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --=20 PS: Bitte schicken Sie mir reine Text-Nachrichten. Bitte schicken Sie mir keine Word-, PowerPoint- oder Excel-Anh=E4nge. Sehen Sie dazu bitte auch http://www.gnu.org/philosophy/no-word-attachments.de.html.