auctex
[Top][All Lists]
Advanced

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

[AUCTeX] redefining PDF viewer


From: Luis Finotti
Subject: [AUCTeX] redefining PDF viewer
Date: Sun, 7 Nov 2010 14:16:47 -0500

Hi,

I'm trying to change the default PDF viewer from xpdf to okular.  I've
googled, looked at the manual, but nothing seems to work.

I am using aptosid (basically Debian Sid/Unstable).  Here are the versions:

-----------
emacs:
  Installed: 23.2+1-5.1

auctex:
  Installed: 11.86-2

texlive-base:
  Installed: 2009-11
-------------------

I've tried going through the menu (as in
http://lists.gnu.org/archive/html/auctex/2009-10/msg00007.html), which
made the following .emacs:

---------------
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(TeX-output-view-style (quote (("^dvi$" ("^landscape$"
"^pstricks$\\|^pst-\\|^psfrag$") "%(o?)dvips -t landscape %d -o && gv
%f") ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv
%f") ("^dvi$" ("^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$"
"^landscape$") "%(o?)xdvi %dS -paper a4r -s 0 %d") ("^dvi$"
"^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$" "%(o?)xdvi %dS
-paper a4 %d") ("^dvi$" ("^\\(?:a5\\(?:comb\\|paper\\)\\)$"
"^landscape$") "%(o?)xdvi %dS -paper a5r -s 0 %d") ("^dvi$"
"^\\(?:a5\\(?:comb\\|paper\\)\\)$" "%(o?)xdvi %dS -paper a5 %d")
("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d") ("^dvi$"
"^letterpaper$" "%(o?)xdvi %dS -paper us %d") ("^dvi$" "^legalpaper$"
"%(o?)xdvi %dS -paper legal %d") ("^dvi$" "^executivepaper$"
"%(o?)xdvi %dS -paper 7.25x10.5in %d") ("^dvi$" "." "%(o?)xdvi %dS
%d") ("^pdf$" "." "okular %o %(outpage)") ("^html?$" "." "netscape
%o")))))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
----------------

But xpdf is still used...

Is this a bug or am I doing something wrong?  Any suggestions would be
greatly appreciated.

Best to all,

Luis

P.S.: What I am actually trying to do is use Forward/Inverse search.
It is now working with DVI for some reason and I could not get it to
work with xpdf...



reply via email to

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