Sunday 27 June 2010

ACM SIGSPATIAL FORMAT FOR LYX

  1. sudo apt-get install texlive-publishers
  2. Download and save on your Desktop the ACM .cls file from http://www.acm.org/sigs/publications/acm_proc_article-sp.cls
  3. cd /usr/share/texmf-texlive/tex/latex/acmtrans
  4. sudo mv ~/Desktop/acm_proc_article-sp.cls acmtrans2e.cls
  5. sudo cp /usr/share/lyx/layouts/article.layout ~/.lyx/layouts/acmtrans2e.layout
  6. sudo gedit ~/.lyx/layouts/acmtrans2e.layout
  7. Change second line # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass[acmtrans2e]{article (ACM)}
  8. sudo texhash
  9. In Lyx: Tools --> Reconfigure
  10. Restart Lyx
  11. In Lyx: Douments ---> Setting
In document class listing you must now see the "article (ACM)"
and right click on the added "BibTex Generated Bibliography" at the end of the lyx document and select settings and "Style" drop down has the "acm".

Tuesday 1 June 2010

Installing leksah, gtk, gtk2hs, and glade on Ubuntu 10.04 LTS -the Lucid Lynx

  1. sudo apt-get install cabal-install
  2. sudo apt-get install libghc6-zlib-dev
  3. cabal update
  4. sudo cabal install cabal-install --global
  5. sudo apt-get install libgtk2.0-dev
  6. sudo apt-get install libgtksourceview2.0-dev
  7. sudo cabal install alex --global
  8. sudo cabal install happy --global
  9. sudo cabal install gtk2hs-buildtools --global
  10. sudo apt-get install libglade2-dev
  11. sudo cabal install glade --global
  12. sudo cabal install leksah --global