- sudo apt-get install abiword
- open the word document in abiword
- save as latex (.tex) document (from "save file as type" select latex )
- Once you have .tex, open lyx and import the .tex into it
Wednesday, 21 July 2010
Conversion from word to lyx
Sunday, 27 June 2010
ACM SIGSPATIAL FORMAT FOR LYX
- sudo apt-get install texlive-publishers
- Download and save on your Desktop the ACM .cls file from http://www.acm.org/sigs/publications/acm_proc_article-sp.cls
- cd /usr/share/texmf-texlive/tex/latex/acmtrans
- sudo mv ~/Desktop/acm_proc_article-sp.cls acmtrans2e.cls
- sudo cp /usr/share/lyx/layouts/article.layout ~/.lyx/layouts/acmtrans2e.layout
- sudo gedit ~/.lyx/layouts/acmtrans2e.layout
- Change second line # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass[acmtrans2e]{article (ACM)}
- sudo texhash
- In Lyx: Tools --> Reconfigure
- Restart Lyx
- In Lyx: Douments ---> Setting
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
- sudo apt-get install cabal-install
- sudo apt-get install libghc6-zlib-dev
- cabal update
- sudo cabal install cabal-install --global
- sudo apt-get install libgtk2.0-dev
- sudo apt-get install libgtksourceview2.0-dev
- sudo cabal install alex --global
- sudo cabal install happy --global
- sudo cabal install gtk2hs-buildtools --global
- sudo apt-get install libglade2-dev
- sudo cabal install glade --global
- sudo cabal install leksah --global
Labels:
glade,
gtk,
gtk2hs,
leksah,
Lucid Lynx,
Ubuntu 10.04 LTS
Friday, 21 May 2010
Configuring Lyx for including "Document Class" for "article (Springer LNCS)"
- Download llncs2e.zip
- Extract to or copy extracted folder llncs2e to /usr/share/texmf/tex/latex
- In terminal: sudo texhash
- In Lyx: Tools --> Reconfigure
- Restart Lyx
- In Lyx: Douments ---> Settings
Labels:
Document Class,
Lyx,
Springer LNCS,
Ubuntu
Monday, 22 March 2010
Cabalized gtk2hs: errors
Cabalized version available at http://www.mail-archive.com/gtk2hs-devel@lists.sourceforge.net/msg00535.html
During installation of cairo-0.10.5:
[1 of 1] Compiling Main ( Setup.hs, dist\setup\Main.o )
Linking .\dist\setup\setup.exe ...
Configuring cairo-0.10.5...
setup.exe: Missing dependencies on foreign libraries:
* Missing C libraries: z, cairo
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
cairo-0.10.5 failed during the configure step. The exception was:
exit: ExitFailure 1
During installation of cairo-0.10.5:
[1 of 1] Compiling Main ( Setup.hs, dist\setup\Main.o )
Linking .\dist\setup\setup.exe ...
Configuring cairo-0.10.5...
setup.exe: Missing dependencies on foreign libraries:
* Missing C libraries: z, cairo
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
cairo-0.10.5 failed during the configure step. The exception was:
exit: ExitFailure 1
Issues in the installation of darcs version of gtk2hs on windows
With ghc-6.10.3
$ autoreconf
configure.ac:105: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /mingw/bin/autoconf failed with exit status: 1
Redoing autoreconf works
$ ./configure
./configure: line 5002: syntax error near unexpected token `GLIB,glib-2.0'
./configure: line 5002: `PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.0.0 gobject-2.0 >=
2.0.0, , as_fn_error "'
With Haskell Platform (ghc-6.10.4)
./configure
There was an error saying that the ghc is not found in the included path. However, it was already there.
$ autoreconf
configure.ac:105: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /mingw/bin/autoconf failed with exit status: 1
Redoing autoreconf works
$ ./configure
./configure: line 5002: syntax error near unexpected token `GLIB,glib-2.0'
./configure: line 5002: `PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.0.0 gobject-2.0 >=
2.0.0, , as_fn_error "'
With Haskell Platform (ghc-6.10.4)
./configure
There was an error saying that the ghc is not found in the included path. However, it was already there.
Thursday, 18 February 2010
eduroam configuration on Android
The Following are the steps for configuring eduroam WLAN on Android 1.6 (HTC-Magic).
(Note: The settings are applicable specially for TU Wien campus)
In Wi-Fi networks list press eduroam
Credential storage password: enter your wireless account password
Setting Preferences
EAP method: TTLS
Phase 2 authentication: MSCHAP2
CA certificate: N/A
Client certificate: N/A
Private key password: leave blank
Identity: your wireless account username (e.g. e0XXXXX@student.tuwien.ac.at)
Anonymous identity: leave blank
Wireless password: your wireless account password (same as credential storage password)
Thursday, 28 January 2010
Installation of gtk, gtk2hs, glade and leksah on windows XP
Step 1: Intall ghc
Download ghc 6.10.3 and install it at default destination.
Step 2: Install cabal
Download cabal for windows and install. This didn't work for me so alternately I used the tar file;
runghc Setup configure
runghc Setup build
runghc Setup install
cabal update
Step 3: Install gtk
Download gtk for windows from and install at the default location.
Step 4: Install gtk2hs
Download gtk2hs-0.10.1-win32-installer and download at default location.
Note: Glade is now in the package list.
on prompt write "ghc-pkg list" to see the installed packages
Step 5: Glade Editor
Method I: cabal install leksah
Mathod II: Download the Leksah-0.6.1.0.exe and install at default location.
Method III:
This will give error : cannot find -lgtksourceview-2.0
Solution is given in the Leksah FAQ#12,
Download ghc 6.10.3 and install it at default destination.
Step 2: Install cabal
Download cabal for windows and install. This didn't work for me so alternately I used the tar file;
- download cabal-install-0.6.2.tar.gz
- untar at a location of your choice
- open cmd and go to the path and do
runghc Setup configure
runghc Setup build
runghc Setup install
cabal update
Step 3: Install gtk
Download gtk for windows from and install at the default location.
Step 4: Install gtk2hs
Download gtk2hs-0.10.1-win32-installer and download at default location.
Note: Glade is now in the package list.
on prompt write "ghc-pkg list" to see the installed packages
Step 5: Glade Editor
- Download glade3
- untar the folder at any location
- in the bin folder you will find the glade-3 executable file
Method I: cabal install leksah
Mathod II: Download the Leksah-0.6.1.0.exe and install at default location.
Method III:
- Download the binary source tar from hackage
- untar and and go to the path and wrtie on cmd prompt
This will give error : cannot find -lgtksourceview-2.0
Solution is given in the Leksah FAQ#12,
- download binary source tar gtksourceview-dev-2.6.2.zip
- put the "libgtksourceview-2.0.dll.a" into the gcc-lib folder of ghc
Subscribe to:
Posts (Atom)