Newbie here. I have just installed emacs/auctex on my mac. I don't like xdvi to view the dvis, I like to use emacs' builtin pdf viewer to view pdf on its own split window on the right. It used to be so with emacs if I remember correctly, but after I installed the auctex, it seems it by default is using the xdvi. How can I switch back to use doc-view-mode to view my pdf then? Thanks
[Tex/LaTex] Auctex, how to use doc-view-mode
auctexemacs
Related Question
- [Tex/LaTex] Aquamac, AUCTeX should open PDF in external viewer, not render it in Emacs buffer
- [Tex/LaTex] SumatraPDF with AucTeX and Foxit Reader as the default viewer
- [Tex/LaTex] Auctex preview: How to suppress opening a new window
- [Tex/LaTex] Error when trying to open pdf file from AUCTeX
- [Tex/LaTex] Customizing preview-latex command to use LaTeX when in TeX-Pdf mode
Best Answer
Try the following:
Customize
Tex View Program List
name
set toEmacs
(or any other meaningful word)Command
, and set the value toemacsclient %o
emacs --daemon
, or add(server-start)
to your.emacs
.Customize
TeX View Program Selection
output-pdf
Emacs
This works for me here on Emacs 24.4.50.1 with Auctex 2014-02-04 from Melpa.