Bryan Lawrence
... personal wiki, blog and notes
Bryan's Blog 2005/12/02
emacs and kubuntu
Emacs. For some reason my apt-get install couldn't find emacs, even though it turned out it was in main. It seems that doing an
apt-get clean
apt-get update
apt-get install emacs
couldn't find it, but when following some forum advice I then did
apt-cache policy emacs21
I got
emacs21:
Installed: (none)
Candidate: 21.4a-1ubuntu1
Version table:
21.4a-1ubuntu1 0
500 http://gb.archive.ubuntu.com breezy/main Packages
which makes the point that we need the version (why?), so now
apt-get install emacs21
worked.
I then went on following this forum entry to get the bits and bobs for latex support from emacs.
apt-get install emacs-extra emacs-goodies-el auctex preview-latex xfonts-jmk
at which point I got some errors about auctex not being available while setting up emacs-extra. Hopefully they got fixed.
apt-get install tetex-base tetex-extra
sudo apt-get install kdvi
xrdb -merge .Xresources
Which would seem to have been a problem, because now:
emacs blah.py
gives
No fonts match `-jmk-neep alt-medium-r-*-*-11-*-*-*-c-*-iso8859-1'
Aaargh. Well, it turns out that was in the .Xresources file. But I thought I'd loaded that ... of course ... need to reload the xserver so it can find the file.
Yes. It works.
by Bryan Lawrence : 2005/12/02 : Categories kubuntu (permalink)
DISCLAIMER: This is a personal blog. Nothing written here reflects an official opinion of my employer or any funding agency.
