Installation

I. SkLaTeX

A. Unpack

After downloading the skLaTeX tarball, unpack it using gzip and tar.

# gzip -cd skLaTeX.tar.gz | tar -xvf -

# ls

sklatex   skLaTeX.py   skLaTeX.tar.gz


B. Install

Move or copy the unpacked skLaTeX.py script to the /usr/lib/skencil-0.6.17/Plugins/Objects/ directory (assuming "/usr" is prefix). Move or copy the unpacked sklatex directory to the /usr/lib/skencil-0.6.17/Plugins/Objects/Lib directory. Also make the necessary changes the ownership of the directory and files in the directory. It would not be a bad idea to check permissions as well.

# mv skLaTeX.py /usr/lib/skencil-0.6.17/Plugins/Objects/

# mv sklatex /usr/lib/skencil-0.6.17/Plugins/Objects/Lib/

The installation process is done.


C. Start

Start Skencil. To access skLaTeX in Skencil, use drop menu "edit -> create -> skLaTeX".



II. PMW

You can get Pmw here: http://pmw.sourceforge.net.

download the file:

To install Pmw, just unpack the Pmw.1.2.tar.gz tarball and then mv or copy the unpacked directory ("Pmw") to the /usr/lib/python2.2/site-packages/ Python directory (assuming Python 2.2). That's it! Pmw should now be usable. Make sure your permissions are correct for your installation of python.

# gzip -cd Pmw.1.2.tar.gz | tar -xvf -

# mv Pmw /usr/lib/python2.2/site-packages/



III. Ghostscript and Pstoedit

Ghostscript:

For Linux systems, Ghostscript should already be installed. For Solaris, the sunfreeware.com website has a package that is known to work.

Pstoedit:

SkLaTeX 0.9.2e works with pstoedit 3.33 and 3.44. SuSE Linux 9.3 has pstoedit 3.33 on CD (all earlier versions do not.) For SuSE RPMs of pstoedit go here. Debian Linux also has pstoedit on CD.

Pstoedit

Linux binaries

(A)

Precompiled binaries are available for Linux (glibc 3.x). These binaries will work on RedHat 8.0. You can find the binaries at http://www.pstoedit.net/pstoedit.

Obtain the two files:

(B)

Once you get the two files needed, copy them to "/usr/local/". In "/usr/local" unpack the files (gzip -cd filename | tar -xvf -). The files will unpack in "/bin", "/lib" and "/share" of the current directory ("/usr/local" in this case).

(C)

In order to make the dependency libraries "active", You need to add the path "/usr/local/lib" to the /etc/ld.so.conf file. Once the new path is added, run the ldconfig utility with the -v option.

The ldconfig -v output should contain the below lines:

/usr/local/lib:
      libpstoedit.so.0 -> libpstoedit.so.0.0.0
      libplotter.so.2 -> libplotter.so.2.2.0
      libEMF.so.1 -> libEMF.so.1.0.0