Note that you can edit the Wiki yourself (as you have a login name for SourceForge).
Could you please correct this there? Thanks Christiaan > On 1 Sep 2024, at 08:32, Arash Esbati <[email protected]> wrote: > > Dear developers, > > many thanks for Skim, great tool. I co-maintain the AUCTeX package for > Emacs and it occurred to me that the entry "Setting up Emacs" on this > page[1] is obsolete. Currently, it reads: > > --8<---------------cut here---------------start------------->8--- > ;; The following only works with AUCTeX loaded > (require 'tex-site) > (add-hook 'TeX-mode-hook > (lambda () > (add-to-list 'TeX-output-view-style > '("^pdf$" "." > "/Applications/Skim.app/Contents/SharedSupport/displayline %n %o > %b")))) > --8<---------------cut here---------------end--------------->8--- > > The variable `TeX-output-view-style' is removed from AUCTeX after being > marked obsolete for some years. The current method for setting up Skim > with AUCTeX is: > > --8<---------------cut here---------------start------------->8--- > ;; The following only works with AUCTeX loaded > (setq TeX-view-program-selection '((output-pdf "displayline"))) > > (setq TeX-view-program-list > '(("displayline" > "/Applications/Skim.app/Contents/SharedSupport/displayline %n %o %b" > "displayline"))) > --8<---------------cut here---------------end--------------->8--- > > Also, the following hint isn't necessary as well: > > --8<---------------cut here---------------start------------->8--- > ;; Use PDF mode by default > (setq-default TeX-PDF-mode t) > --8<---------------cut here---------------end--------------->8--- > > That mode is on by default and AUCTeX generates a .pdf. > > I also suggest not to advertise (require 'tex-site) since this way of > loading AUCTeX is also declared obsolete for many years now. Actually, > users who install AUCTeX via Emacs package manager from ELPA don't need > to activate the package at all, but that's not relevant for your wiki, I > guess. > > I don't have a SF-account, so I can't suggest a change for the page > there, maybe you can consider the suggestion above. TIA. > > Best, Arash > > Footnotes: > [1] https://sourceforge.net/p/skim-app/wiki/TeX_and_PDF_Synchronization/ _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
