
  This is gNumExp, a gui frontend to numexp-core. To compile this package
you need to have the following installed:

	o GNOME 2.6 core libraries (although it probably needs 2.8
because of the new MIME system)

	o numexp-core  (same project page as gnumexp: http://sf.net.projects/numexp)

	o pymathml: http://pymathml.sf.net

	o libnxplot (found in numexp's project page)
	  It also requires:
		- gtk, pygtk;
		- freetype, fontconfig;
		- libgnomeprint.

	o pyorbit, gnome-python, pygtk.

	o The XHTML plus MathML DTD properly installed. At numexp's
sourceforge project page, in the "files" section, you'll find a
package with all the files necessary, and an installation
script. Always use the last version available there. To install, just
run 'make install', that's all.  Please note that you must have an XML
catalog file, /etc/xml/catalog. If you don't have one, create it with:
		# mkdir /etc/xml
		# xmlcatalog --create --noout /etc/xml/catalog

	o A set of standard ghostscript fonts (just the fonts, not
ghostscript itself). No particular version is required.

        *** IMPORTANT *** Make sure that the ghostscript fonts are
registered with fontconfig.

	o Also, some more fonts with good unicode coverage are
recommended.  You can find some here:
	http://bibliofile.mc.duke.edu/gww/fonts/Unicode.html
[ One easy way to install fonts under fontconfig consists on:
	1. cd ~/.fonts
	2. unzip ../FontsArchive.zip
	3. fc-cache
  I recommend the TTF Caslon font; it is used to provide a greater
variety of symbols to the mathml engine. ]

****************************************************
**** How to install install in a prefix != /usr ****
****************************************************

It's easier to install to /usr, but it's also possible to install in
different prefix if you configure your system correctly.  Here's what
you need to do to build gnumexp in a prefix denoted by @prefix@:

  1. Update your bonobo-activation search path, by editting the file
/etc/bonobo-activation/bonobo-activation-config.xml, and adding the
line inside the <searchpath> element:
    <item>@prefix@/lib/bonobo/servers</item>

  2. respawn bonobo-activation-server, by running bonobo-slay
(surprisingly this doesn't work on some systems such as ubuntu), or
killall bonobo-activation-server.  If you are running gnome, you
better log out and log in again.

  3. Update the python module search path.  You can install a .pth
file.  For example, if you have python 2.3, this should do it:
        # echo @prefix@/lib/python2.3/site-packages > /usr/lib/python2.3/site-packages/@something@.pth

  4. To install the mathml DTD, there's nothing you can do but install
in /usr, using make install. Sorry about that.

  5. In the shell you are going to use to compile the gnumexp stack,
you should update your pkg-config search path.
Example:
        $ export PKG_CONFIG_PATH=@prefix@/lib/pkgconfig

  6. Install pymathml with:
        $ python setup.py install --prefix=@prefix@

  7. Configure libnxplot and gnumexp with:
        $ ./configure --prefix=@prefix

That's it!  gnumexp should have been built, and it should run.  But
don't expect MIME detection of plot files and menu launchers to work
if you don't install to /usr -- Not My Fault(tm)

