Tuesday, October 23, 2012

latex bibtex installation and usage under ubuntu


#install latex under ubuntu
sudo apt-get install texlive
sudo apt-get install texlive-ful
sudo apt-get install gedit-latex-plugin # need to activate the plugin in the gedit->edit->preferences->plugins

#other packages recommended

sudo apt-get install texlive-fonts-recommended latex-beamer texpower texlive-pictures texlive-latex-extra texpower-examples imagemagick


#using in the bash console
latex filename.tex
bibtex filename.aux
latex filename.tex
latex filename.tex

#view the file
xdvi filename
dvips filename # change into .ps file
gv filename.ps # view the .ps file with gv
ps2pdf filename.ps # change into .pdf file from .ps file

Reference:
 http://linuxandfriends.com/2009/10/06/install-latex-in-ubuntu-linux/
 https://help.ubuntu.com/community/LaTeX
 http://www.ccrnp.ncifcrf.gov/~toms/latexforbeginners.html

No comments:

Post a Comment