Hi, Does anybody have a good solution of the interaction problems between Emacs and Skim when simpdftex or latex + dvipdf, is needed? Because simpdftex deletes the previous pdf and creates a fresh pdf, Auto update feature of Skim does not work. Instead, I can use by hand Skim > File > Revert.
1. I've tried simpdftexnodel.sh from <http://phaseportrait.blogspot.com/2007/07/skim-automatic-refreshes-and-simpdftex.html> But it goes into a loop, both from Emacs (after I have created an AUCTeX command for it) and in Terminal. The later tells that the problem is not from Emacs' settings. 2. latex + dvipdf (I have a script based on some suggestions by Pete Dyballa) works almost finely, with some problems: - Auto update in Skim works (except that the file.pdf reloads twice in Skim) - jumps from a location in the file.pdf, i.e. Skim -> Emacs (Command + Shift) works. - jumps from a location in the file.tex, i.e. Emacs -> Skim (C-c C-v) fails. Skim is trying to open file.dvi instead of file.pdf, regardless that I have set up PDF Mode in Emacs (as a default by having in my .emacs the statement: (setq-default TeX-PDF-mode t) 3. The following workaround steps used to work quite finely, in some of the previous versions of Carbon Emacs and Skim, when I needed to run simpdftex, alternatively, latex + dvipdf, on a file.tex: At first, I'd run pdflatex from Emacs on file.tex, just a couple of times to start Skim displaying the file.pdf; and would do some change in file.pdf, to get once File updated > Auto. Then I'd run a command (for a script latex + dvipdf, or something like simpdftex) from Emacs and Skim would update the pdf file automatically without using File > Revert. Now, I can't get that working anymore, and have to use Revert. Roussanka --~--~---------~--~----~------------~-------~--~----~ Carbon Emacs User Group http://groups.google.com/group/carbon-emacs?hl=en -~----------~----~----~----~------~----~------~--~---