=================================================================== RCS file: /home/cvs/OpenXM/src/ox_math/documents/math2ox.texi,v retrieving revision 1.2 retrieving revision 1.8 diff -u -p -r1.2 -r1.8 --- OpenXM/src/ox_math/documents/math2ox.texi 2000/03/11 09:17:42 1.2 +++ OpenXM/src/ox_math/documents/math2ox.texi 2000/03/15 10:52:20 1.8 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.1 2000/03/08 06:59:37 ohara Exp $ +%% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.7 2000/03/15 08:22:20 ohara Exp $ \input texinfo @iftex @@ -34,23 +34,158 @@ @node Top,, (dir), (dir) @menu +* Starting OX servers:: * Mathematica Client Functions:: * Sample Programs:: +* Example:: +* References:: @end menu -@node Mathematica Client Functions,,, Top +@node Starting OX servers,,, Top +@chapter Starting OX servers -@chapter Mathematica Client Functions +@node Loading an OX Client on Mathematica,,, Starting OX servers +@section Loading an OX Client on Mathematica The program @code{math2ox} is an external module for Mathematica to call OpenXM servers. The @code{math2ox} communicates with OpenXM servers by the OpenXM protocol and communicates with Mathematica by MathLink. +In order to execute @code{math2ox}, you need to type as follows: +@example +In[1]:= Install["math2ox"] +@end example + +The Mathematica program oxclient.m, which is used to load math2ox +and set some global variables, is in the directory +@code{$OpenXM_HOME/lib/oxmath}. +The standard value of @code{$OpenXM_HOME} is @code{/usr/local/OpenXM}. +We recommend using @code{oxclient.m} instead of @code{Install[]}: +@example +In[1] := <