--- loncom/xml/lonplot.pm 2003/06/10 18:46:02 1.85 +++ loncom/xml/lonplot.pm 2003/09/27 04:15:26 1.85.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.85 2003/06/10 18:46:02 matthew Exp $ +# $Id: lonplot.pm,v 1.85.2.1 2003/09/27 04:15:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -513,8 +513,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') {