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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 24 Feb 2005 01:25:05 -0000


albertel		Wed Feb 23 20:25:05 2005 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  - meant to use math mode not displaystyle mode
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.44 loncom/xml/lontexconvert.pm:1.45
--- loncom/xml/lontexconvert.pm:1.44	Wed Feb 23 20:21:50 2005
+++ loncom/xml/lontexconvert.pm	Wed Feb 23 20:25:05 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.44 2005/02/24 01:21:50 albertel Exp $
+# $Id: lontexconvert.pm,v 1.45 2005/02/24 01:25:05 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -221,7 +221,7 @@
 	$parser->tostring();
 	$parser->normalize();
 	my $latex=$parser->tolatex();
-	$latex='$$'.$latex.'$$';
+	$latex='$'.$latex.'$';
 	if ($target eq 'web' || $target eq 'analyze') {
 	    $result = &converted(\$latex);
 	} else {