--- loncom/interface/lonaboutme.pm 2004/05/04 14:34:25 1.24 +++ loncom/interface/lonaboutme.pm 2004/05/12 19:00:20 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network # "About Me" Personal Information # -# $Id: lonaboutme.pm,v 1.24 2004/05/04 14:34:25 albertel Exp $ +# $Id: lonaboutme.pm,v 1.26 2004/05/12 19:00:20 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -153,8 +153,13 @@ ENDDOCUMENT if ($syllabus{'uploaded.photourl'}) { &Apache::lonnet::allowuploaded('/adm/aboutme', $syllabus{'uploaded.photourl'}); - $r->print(''); + if ($target ne 'tex') { + $r->print(''); + } else { + $r->print(&Apache::lonxml::xmlparse($r,'tex','')); + } } if ($allowed) { $r->print( @@ -176,7 +181,7 @@ ENDDOCUMENT $message.''); } else { $r->print('\\\\\textbf{'.$syllabusfields{$_}.'}\\\\'. - &Apache::lonxml::xmlparse($r,' ',$message).'\\\\'); + &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\'); } if ($allowed) { $r->print('