File: maximaMathML.lisp

package info (click to toggle)
maxima 5.21.1-2squeeze
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 94,928 kB
  • ctags: 43,849
  • sloc: lisp: 298,974; fortran: 14,666; perl: 14,325; tcl: 10,494; sh: 4,052; makefile: 2,975; ansic: 471; awk: 24; sed: 7
file content (38 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;;;;;;;;;;;;;;;;; File:  load-mathml.lsp  ;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Purpose:   Makes maxima display mathml
;;
;; Usage:     load this file into maxima 
;;                loadfile("mathmldisplay.lsp");
;;
;; Author: Paul S. Wang
;; Date: 5/20/99
;
; Authors:  Paul S. Wang, Kent State University
; This work was supported by NSF/USA.
; Permission to use this work for any purpose is granted provided that
; the copyright notice, author and support credits above are retained.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(in-package :maxima)

;;; no saving of expressions under automatically generated labels
(setq $nolabels t)

;;; For the time being use concat(load("maximaMathML/load-mathml.lisp"))
;;; or something since the redefined displa can't handle lisp strings. -wj

;; redefines maxima displa
($load "mathmldisplay")

;; mathml input to maxima
($load "mathml-maxima")

;; generate MathML Presentation encoding
($load "PrMathML")

;; generate MathML Content encoding
($load "CtMathML")

;;; enables mathml content code input to maxima
;;; use the command mathml(); followed by <math>...</math> from stdin