--- loncom/interface/lonsyllabus.pm 2004/06/03 14:28:39 1.33 +++ loncom/interface/lonsyllabus.pm 2004/06/08 15:20:05 1.34 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.33 2004/06/03 14:28:39 www Exp $ +# $Id: lonsyllabus.pm,v 1.34 2004/06/08 15:20:05 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -262,7 +262,11 @@ ENDDOCUMENT # embed as an image $output=''; } - $message.='
'.$output.'
'; + if ($target ne 'tex') { + $message.=''.$output.'
'; + } else { + $message.=' '.&Apache::lonxml::xmlparse($r,'tex',''.$output.'
').' '; + } } if ($allowed) { $r->print('