I upgraded to Ubuntu Linux 11.04 yesterday, and I realize that Quick View (C-c C-v) in Emacs, which opened pdf with okular, does not work anymore. C-c C-v does nothing now; I also try to launch it via menu bar: Command -> Quick View, it shows "menu-bar Command Quick View", that is it.
I could observe that the pdf file is actually generated (by C-c C-c), but oddly it could not be opened from Emacs. Here is the related part of my .emacs:
(server-start) (add-hook 'LaTeX-mode-hook 'TeX-PDF-mode) (defun pdf-with-okular () (add-to-list 'TeX-output-view-style (quote ("^pdf$" "." "okular %o %(outpage)")))) (add-hook 'LaTeX-mode-hook 'pdf-with-okular t) (custom-set-variables '(LaTeX-command "latex -synctex=1") '(cua-mode t nil (cua-base)) '(show-paren-mode t))
Could anyone help? Thank you very much