Monday, April 26, 2010

Elsevier style with Lyx on Ubuntu 9.10

Elsevier style doesn't work out of the box on Ubuntu 9.10. Follow the steps below:

  1. mkdir elsarticle
  2. cd elsarticle
  3. wget http://www.elsevier.com/framework_authors/misc/elsarticle.zip
  4. unzip elsarticle.zip
  5. sudo cp *.sty /usr/share/texmf-texlive/tex/latex/elsevier/
  6. sudo cp *.cls /usr/share/texmf-texlive/tex/latex/elsevier/
  7. sudo cp *.bst /usr/share/texmf-texlive/tex/latex/elsevier/
  8. sudo texhash
  9. Run LyX, click Tools > Reconfigure
  10. Restart LyX
  11. File > New Document from Template ... select elsarticle.lyx ... it should work now ;-)