Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Wednesday, 25 July 2018

Haskell, Leksah installation on Ubuntu 18.04 LTS




sudo apt-get update
sudo apt-get install haskell-platform
sudo apt-get install libgirepository1.0-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev
cd leksah
cabal update
cabal install alex happy
cabal install haskell-gi

#Edit as admin etc/enviorment file to add cabal path

sudo gedit /etc/environment

e.g. I added following line to the end of $PATH 

:~/bulbul_bin/leksah/leksah.sh

#Relogin or run following for path changes to get effect

. /etc/environment

#Run leksah shell to start installation


./leksah.sh

#For creating Desktop launcher, add following line at top of leksah.sh as shown here

cd $(dirname $0)

#Create a custom launcher using methods given here


sudo apt-get install --no-install-recommends gnome-panel gnome-desktop-item-edit ~/Desktop/ --create-new






Wednesday, 21 July 2010

Conversion from word to lyx

  1. sudo apt-get install abiword
  2. open the word document in abiword
  3. save as latex (.tex) document (from "save file as type" select latex )
  4. Once you have .tex, open lyx and import the .tex into it

Friday, 21 May 2010

Configuring Lyx for including "Document Class" for "article (Springer LNCS)"

  1. Download llncs2e.zip
  2. Extract to or copy extracted folder llncs2e to /usr/share/texmf/tex/latex
  3. In terminal: sudo texhash
  4. In Lyx: Tools --> Reconfigure
  5. Restart Lyx
  6. In Lyx: Douments ---> Settings
In document class listing you must now see the "article (Springer LNCS)"