  
  [1X1 Introduction and installation[0X
  
  
  [1X1.1 Brief description of the package[0X
  
  The  [5XGAP[0m package [5XOpenMath[0m provides an [5XOpenMath[0m phrasebook for [5XGAP[0m: it allows
  [5XGAP[0m  users to import and export mathematical objects encoded in [5XOpenMath[0m for
  the purpose of exchanging them with other [5XOpenMath[0m-enabled applications.
  
  This manual describes:
  
  --    how to view [5XOpenMath[0m representation of an object;
  
  --    how  to read [5XOpenMath[0m object from stream or write it to stream for the
        purposes of exchange with another [5XOpenMath[0m-enabled application;
  
  --    how to find which objects can be converted to/from [5XOpenMath[0m using this
        package;
  
  --    how  to  extend  the  package  to  support  private  [5XOpenMath[0m  content
        dictionaries.
  
  For   the   detailed   information   about  [5XOpenMath[0m  standard  and  content
  dictionaries see the [5XOpenMath[0m homepage [7Xhttp://www.openmath.org[0m.
  
  For  practical purposes, the [5XOpenMath[0m package will be most efficient if used
  in  conjunction  with  the  [5XGAP[0m  package  [5XSCSCP[0m  ([KL]) which implements the
  Symbolic   Computation   Software  Composability  protocol  ([FHKLR]).  This
  protocol  specifies  an  [5XOpenMath[0m-based  remote procedure call framework, in
  which  all  messages  (procedure  calls and returns of results of successful
  computation  or  error  messages)  are  encoded  in  [5XOpenMath[0m  using content
  dictionaries  [5Xscscp1[0m  and  [5Xscscp2[0m  ([FHKLLRa],  [FHKLLRb]).  Using the [5XSCSCP[0m
  package,   [5XGAP[0m   can   communicate   locally  or  remotely  with  any  other
  [5XOpenMath[0m-enabled  [5XSCSCP[0m-compliant  application which may be not only another
  computer algebra system but also another instance of the [5XGAP[0m system or even,
  for  example, an external C/C++ or Java application. Such communication will
  go  into  a  seamless  manner  with the [5XGAP[0m/[5XOpenMath[0m conversion going in the
  background.
  
  
  [1X1.2 Installation of the package[0X
  
  To  use  the  [5XOpenMath[0m  package it is required to install the [5XGAPDoc[0m package
  [LN] to use the help system and parse [5XOpenMath[0m objects in the XML format.
  
  To  install  the [5XOpenMath[0m package, unpack the archive and place the [11Xopenmath[0m
  directory  in  the  [11Xpkg[0m  subdirectory  of your [5XGAP[0m4.4 installation. When you
  don't  have write access to the directory of your main [5XGAP[0m installation, you
  can  also install the package [13Xoutside the [5XGAP[0m[13X main directory[0m by unpacking it
  inside  a  directory [11XMYGAPDIR/pkg[0m. Then to be able to load [5XOpenMath[0m you need
  to call GAP with the [10X-l ";MYGAPDIR"[0m option.
  
  The  package  comes  together with the [5XOpenMath[0m C library developed at INRIA
  and  the program [11Xgpipe[0m which should be compiled to parse the binary [5XOpenMath[0m
  format.  The  compilation should be performed in two stages: first the INRIA
  library,  and  then  [11Xgpipe[0m.  To  do  this,  change  to the package directory
  [11Xgap4r4/pkg/openmath[0m and enter the following commands:
  
  [4X---------------------------  Example  ----------------------------[0X
    [4X[0X
    [4Xcd OMCv1.3c/src/[0X
    [4X./configure[0X
    [4Xmake[0X
    [4Xcd ../../[0X
    [4X./configure ../../[0X
    [4Xmake[0X
    [4X[0X
  [4X------------------------------------------------------------------[0X
  
  However,  it  is  possible to ignore this step if the binary [5XOpenMath[0m format
  will not be used.
  
