Basically, i want my emacs to run
latex-preview-pane-mode (which is a emacs function, provided by this package) instead of executing the external application
After reading the acutex docs about this, i have now this code:
(custom-set-variables '(TeX-view-program-list (quote (("preview-pane-mode" (latex-preview-pane-mode) nil)))) '(TeX-view-program-selection (quote (((output-dvi has-no-display-manager) "dvi2tty") ((output-dvi style-pstricks) "dvips and gv") (output-dvi "xdvi") (engine-omega "Atril") (output-pdf "Evince") (output-html "xdg-open"))))) (custom-set-faces))
The part after
'(TeX-view-program-selection works fine, it's the not-changed default. However, i don't know how to proceed, because obviously
evince is a actual binary program and
latex-preview-pane-mode a function.
(output-pdf "Evince") to
(output-pdf 'latex-preview-pane-mode), i receive the error message:
TeX-view-command-raw: Unknown latex-preview-pane-mode viewer. Check the `TeX-view-program-selection' variable
When i change it to
(output-pdf "preview-pane-mode") and execute it, my emacs is hanging.