--- loncom/xml/lonplot.pm 2003/09/19 20:05:29 1.90 +++ loncom/xml/lonplot.pm 2003/09/27 04:08:56 1.91 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.90 2003/09/19 20:05:29 matthew Exp $ +# $Id: lonplot.pm,v 1.91 2003/09/27 04:08:56 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -530,8 +530,8 @@ sub end_gnuplot { alt = "$plot{'alttag'}" /> ENDIMAGE } elsif ($target eq 'tex') { - &Apache::lonnet::ssi("/cgi-bin/plot.gif?file=$filename.data&output=eps"); - + #might be inside the safe space, register the URL for later + &Apache::lonxml::register_ssi("/cgi-bin/plot.gif?file=$filename.data&output=eps"); $result = '\graphicspath{{/home/httpd/perl/tmp/}}\includegraphics[width='.$plot{'texwidth'}.' mm]{'.&Apache::lonnet::unescape($filename).'.eps}'; } } elsif ($target eq 'edit') {