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 ;-)

IEEEtran with Lyx on Ubuntu 9.10

If you are fighting to get IEEEtran.sty install and work with lyx, install the following packages to get (almost) everything working straight out of the box:

sudo apt-get install texlive texlive-base texlive-base-bin texlive-base-bin-doc texlive-bibtex-extra texlive-binaries texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-humanities-doc texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-latex3 texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-omega texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex latex-beamer latex-xcolor latex-xft-fonts dblatex preview-latex-style

Tuesday, April 13, 2010

Ubuntu/Debian: Flash not responding to any click

I found the fix here: http://helpforlinux.blogspot.com/2009/11/i-cannot-click-on-flash-in-ubuntu.html

As instructed, perform the following and restart your firefox:
  • Hit ALT+F2 and enter
  • gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer
  • add the following line BEFORE the last line of text
  • export GDK_NATIVE_WINDOWS=1
  • Save.
  • Restart any applications using flash