help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing default dvi viewer.


From: Tassilo Horn
Subject: Re: Changing default dvi viewer.
Date: Thu, 07 Feb 2008 11:56:15 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

David <address@hidden> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]