[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 07 Sep 2006 21:51:17 -0000


albertel		Thu Sep  7 17:51:17 2006 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  - add support for eqnarray* environments to jsMath
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.77 loncom/xml/lontexconvert.pm:1.78
--- loncom/xml/lontexconvert.pm:1.77	Wed Sep  6 15:43:22 2006
+++ loncom/xml/lontexconvert.pm	Thu Sep  7 17:51:16 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.77 2006/09/06 19:43:22 albertel Exp $
+# $Id: lontexconvert.pm,v 1.78 2006/09/07 21:51:16 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -189,6 +189,7 @@
 	return
             '<script type="text/javascript">
                      function NoFontMessage () {}
+                     jsMath = {Parser: {prototype: {environments: {\'eqnarray*\' :[\'Array\',null,null,\'rcl\',[5/18,5/18],3,\'D\']}}}};
                    </script>'."\n".
 	    '<script type="text/javascript" src="/adm/jsMath/jsMath.js"></script>'."\n";
     }