I’m posting this mainly to remind myself how I did it, when the time comes to do it again. I added some detailed instructions (like where to cd to and so on) in case somebody else is interested in these instructions. So let’s see:
./configure --prefix='c:/Program Files/Emacs' --with-texmf-dir='c:/ProgramData/MiKTeX/2.7' --with-lispdir='c:/Program Files/Emacs/site-lisp'
texmfdir is specific to MiXTeX, and if you’re using a version of MiXTeX older than (I think) 2.5, you’d probably have to use something like
c:/localtexmfinstead. Finally, I had to use the
lispdiroption because configure wouldn’t find the
site-lispdirectory without it - even though it’s right there in the prefix directory. Go figure.
--disable-previewoption, which I should probably have done. According to the docs, the preview package doesn’t currently work with this version of Emacs, and sure enough, it doesn’t seem to work although I didn’t have any trouble building and installing it.
make install(this is the step that actually requires administrator privileges, so you might be fine running everything up to this point as a non-privileged user)
site-lispdirectory and added these lines (collected from various places in the docs):
(load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (require 'tex-mik) (eval-after-load 'info '(add-to-list 'Info-directory-list "c:/Program Files/Emacs/share/info")) (setq TeX-auto-save t) (setq TeX-parse-self t)
And that’s it. So far I’m not having any trouble with this installation. Have fun!
Sorry, this blog does not support comments. Why not?
I used various blog hosting services since this blog was established in 2005, but unfortunately they turned out to be unreliable in the long term and comment threads were lost in unavoidable transitions. At this time I don't want to enable third-party services for comments since it has become obvious in recent years that these providers invariably monetize information about their visitors and users.
Please use the links in the page footer to get in touch with me. I'm available for conversations on Keybase, Matrix, Mastodon or Twitter, as well as via email.