Emacs and Skim not in Sync fails to open

355 views Asked by At

New to posting to Stack Overflow, but I'll ask away. I have been having issues linking up Emacs with Skim. Using tex-mode.

I have used code that has been posted here on the site that shows how to do it.

Which does compile and shows output. Produces an .aux .log and .pdf file

But fails to preview using C-c C-v. It does not open up skim and outputs an error that says.

"No appropriate `.dvi' file could be found"

from my understanding this snippet of code should be linking up C-c C-v, which is same to tex-view.

(setq TeX-view-program-selection '((output-pdf "PDF Viewer"))) (setq TeX-view-program-list '(("PDF Viewer" "/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b")))

I am curious where this issue may be coming from, current emacs version is 24.5.1 using Tex Live 2014

Found Solution to my Problem:

I found that regular tex-mode pre-installed by emacs was not complete, and that I need to download auctex, from the packages listed in el-get or melpa to get it to work properly.

0

There are 0 answers