From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Changing default dvi viewer. Date: Thu, 07 Feb 2008 11:56:15 +0100 Message-ID: <87y79xt4q8.fsf@member.fsf.org> References: <20080205170541.675151BC01F@ufc.univ-fcomte.fr> <20080207112820.GA6553@univ-fcomte.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1202382051 15783 80.91.229.12 (7 Feb 2008 11:00:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2008 11:00:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 07 12:01:13 2008 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 1JN4V4-0004OB-Ac for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Feb 2008 12:01:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JN4Uc-0006BP-00 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Feb 2008 06:00:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JN4UB-000693-PC for help-gnu-emacs@gnu.org; Thu, 07 Feb 2008 06:00:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JN4UA-00068R-84 for help-gnu-emacs@gnu.org; Thu, 07 Feb 2008 06:00:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JN4U9-00068M-Ur for help-gnu-emacs@gnu.org; Thu, 07 Feb 2008 06:00:05 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JN4U9-00053X-7b for help-gnu-emacs@gnu.org; Thu, 07 Feb 2008 06:00:05 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JN4U6-0003lV-JV for help-gnu-emacs@gnu.org; Thu, 07 Feb 2008 11:00:02 +0000 Original-Received: from dslb-084-063-008-181.pools.arcor-ip.net ([84.63.8.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2008 11:00:02 +0000 Original-Received: from tassilo by dslb-084-063-008-181.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2008 11:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-063-008-181.pools.arcor-ip.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:rXTRR5qkbuoDZ8spSlGKnSxc8kI= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:51293 Archived-At: David writes: Hi David, > As I'm sure manyof you know, when working with latex a few C-c C-c > commands will compile the latex, bibtex and launch a dvi viewer. How > can I change the default dvi viewer from xdvi to kdvi? Do you use AUCTeX? Then this will do the trick. (Replace okular with kdvi and kpdf.) ;; PDFs per default mit okular öffnen (add-to-list 'TeX-output-view-style '("^pdf$" "." "okular %o")) ;; DVIs per default mit okular öffnen (add-to-list 'TeX-output-view-style '("^dvi$" "." "okular %o")) I added those two to TeX-mode-hook. Bye, Tassilo -- Chuck Norris' credit cards have no limit. Last weekend, he maxed them out.