latex output



   >From mailnull  Fri Jun  7 06:03:15 2013
   Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.170 as permitted sender) client-ip=209.85.223.170; envelope-from=thebookworm101 at gmail.com; helo=mail-ie0-f170.google.com;
   Date: Fri, 7 Jun 2013 09:01:53 +0300
   From: jiun bookworm <thebookworm101 at gmail.com>
   CC: Robert Dodier <robert.dodier at gmail.com>, <maxima at math.utexas.edu>
   Content-Type: multipart/alternative; boundary="089e01184784ec34d104de8a2ad3"

   --089e01184784ec34d104de8a2ad3
   Content-Type: text/plain; charset="ISO-8859-1"

   Leo,
   it does not seem to work in the lisp file:

Jiun, I will guess that your init files are not loaded.
Here is my maxima-init.lisp:

($load "mathml")
(setf *alt-display2d* (lambda(x) (mfuncall '$mathml x)))
(format t "~%maxima-init.lisp loaded~%~%")

And here is the transcript:

$ maxima --init-lisp=./maxima-init.lisp

Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.

maxima-init.lisp loaded

(%i1) x/y;
<math xmlns="http://www.w3.org/1998/Math/MathML">; <mi>mlabel</mi>
 <mfenced separators=""><mfrac><mrow><mi>x</mi> </mrow> <mrow>
 <mi>y</mi> </mrow></mfrac> <mo>,</mo><mfrac><mrow><mi>x</mi>
 </mrow> <mrow><mi>y</mi> </mrow></mfrac> </mfenced> </math>
(%i2)

Leo