Bonjour,

I try to enable evince as a viewer of pdf file without any success...

When I use C-c-a to compile my document, latexmk is run but at the end, it complains that "no matching viewer found"....

I searched on the internet and found someone saying to add in the init file:

(eval-after-load "tex"
  '(progn
(setq TeX-view-program-list '(("Evince" "evince --page-index=%(outpage) %o"))) ;(add-to-list 'TeX-command-list '("View" "evince %g" TeX-run-command nil t :help "Run evince on your document"))
     (setq TeX-view-program-selection '((output-pdf "Evince")))))

Sometimes it works sometimes not... Why?

Other people say to check "TeX-view-program-list " I have no TeX-view-* variable in my emacs...

Some others say to add $pdf_previewer = 'start evince'; to the .latexmkrc file... useless...

I am wondering why I have a cheap emacs install... My emacs version is 29.4 from fedora distro, My auctex version is 14.08 from elpa.

Thank you for lights!

--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte

Reply via email to