PDA

View Full Version : Emacs & Latex HOW-TO


Manny C
October 4th, 2005, 01:11 AM
This is for all the lonely people, thinking that life has passed them by...
EMACS
Download the attached emacsconf.tar.gz archive to your home directory. Then extract the attached .emacs and .Xresources file to ~/ tar zxvf emacsconf.tar.gz
Install emacs and associated packages:
sudo apt-get install emacs21 emacs-extra emacs-goodies-el emacs-extra-goodies-el emacsauctex preview-latex xfonts-jmk
Restart your computer (I think this is necessary)LATEX
Install LaTeX
sudo apt-get install tetex-base tetex-extra
Install dvi viewers (can install only one - use kdvi if you have kubuntu, o/w use xdvi)
sudo apt-get install kdvi xdvi
Read The Not So Short Introduction to LaTeX (http://ctan.unsw.edu.au/info/lshort/english/lshort.pdf)FINALISE
Apply the .Xresources settings:
xrdb -merge .Xresources LaTeX AWAY!
Open Emacs, and TeX away.

John.Michael.Kane
October 4th, 2005, 09:59 AM
Can you explain this Copy the attached .emacs and .Xresources file to ~/
thanks

chettyk
October 4th, 2005, 10:20 AM
Can you explain this Copy the attached .emacs and .Xresources file to ~/
thanks

Thanks Manny C for the HOWTO. I assume that the .emacs and .Xresources files are needed if you want to carry over settings from another distribution. My .emacs file, which I have carefully preserved from a Fedora distro, has some useful macros that I'd like to use.

Manny C
October 17th, 2005, 02:53 AM
Can you explain this Copy the attached .emacs and .Xresources file to ~/
thanks

Download the .tar.gz file. Use Ark to extract to the Home Directory or save the archive to ~/ and then issue the following command.
tar zxvf emacsconf.tar.gz

If you are a newbie, use Ark. It is much easier.

I assume that the .emacs and .Xresources files are needed if you want to carry over settings from another distribution.

This is correct.