From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johs Newsgroups: gmane.emacs.help Subject: Re: can't use Kdvi as dvi previewer Date: Sun, 29 Oct 2006 23:24:22 +0100 Organization: UNI-C Message-ID: References: <4544db5e$0$30320$9b4e6d93@newsspool1.arcor-online.net> <87iri23kcd.fsf@sopos.org> Reply-To: asd@ads.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: sea.gmane.org 1162161686 799 80.91.229.2 (29 Oct 2006 22:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2006 22:41:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 29 23:41:22 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 1GeJL1-00006x-1y for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Oct 2006 23:41:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeJL0-0006A1-AK for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Oct 2006 17:41:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1162160654 29513 130.225.245.182 (29 Oct 2006 22:24:14 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Sun, 29 Oct 2006 22:24:14 +0000 (UTC) User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:142780 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:38399 Archived-At: Johs wrote: > Oliver Heins wrote: > >> Johs writes: >> >>> hmm do I have to enter: >>> >>> (info "(auctex)Viewing") >>> >>> into my .emacs file? >> >> Of course you're free to do it this way, but the preferable way is to >> copy this line into an emacs buffer (eg the *scratch* buffer) and then >> type C-x C-e. This leads you to the section "Viewing" of the auctex >> manual. Here you will probably find an answer to your question. > > > not really. > > I have now tried: > > (setq Tex-view "kdvi") > > does not work > > and I have also tried: > > (setq TeX-view-style '(("^a5$" "kdvi %d -paper a5") > ("^landscape$" "kdvi %d -paper a4r -s 4") > ("." "kdvi %d")) > > which does not work either. > > Any hints? This works: (add-hook 'TeX-mode-hook ;; Super-Tab (lambda () ;; Preview-LaTeX (TeX-source-specials-mode 1) (local-set-key "\C-i" 'th-complete-or-indent) ;; PDFs per default mit kpdf öffnen (add-to-list 'TeX-output-view-style '("^pdf$" "." "kpdf %o")) ;; DVIs per default mit kdvi öffnen (add-to-list 'TeX-output-view-style '("^dvi$" "." "kdvi %o")))) So the option I needed was: TeX-output-view-style