--- loncom/xml/londefdef.pm 2008/08/18 10:19:59 1.390 +++ loncom/xml/londefdef.pm 2008/10/02 18:09:38 1.390.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.390 2008/08/18 10:19:59 foxr Exp $ +# $Id: londefdef.pm,v 1.390.2.2 2008/10/02 18:09:38 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -113,7 +113,7 @@ sub start_m { my $display=&Apache::lonxml::get_param('display',$parstack,$safeeval); $currentstring = &Apache::lontexconvert::converted(\$inside,$display); if ($Apache::lontexconvert::errorstring) { - my $errormsg='
'.&HTML::Entities::encode($Apache::lontexconvert::errorstring,'<>&"').'occured while attempting to convert this TeX:
'; + my $errormsg=''.&HTML::Entities::encode($Apache::lontexconvert::errorstring,'<>&"').'occurred while attempting to convert this TeX:'; $tex = &HTML::Entities::encode($tex,'<>&"'); my ($linenumber) = ($Apache::lontexconvert::errorstring =~ /Line (\d+)/); @@ -202,6 +202,7 @@ sub start_html { '\usepackage{wrapfig}'. '\usepackage{picins}'. '\usepackage[T1]{fontenc}'."\n". + '\usepackage{lmodern}'."\n". '\usepackage[postscript]{ucs}'."\n". '\usepackage[utf8x]{inputenc}'."\n". '\usepackage{pifont}' ."\n".