[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 14 May 2003 13:20:06 -0000


albertel		Wed May 14 09:20:06 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - i think answer_output_mode set to tex is more obvious about what is going on
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.166 loncom/interface/lonprintout.pm:1.167
--- loncom/interface/lonprintout.pm:1.166	Wed May 14 09:10:11 2003
+++ loncom/interface/lonprintout.pm	Wed May 14 09:20:06 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.166 2003/05/14 13:10:11 albertel Exp $
+# $Id: lonprintout.pm,v 1.167 2003/05/14 13:20:06 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1382,7 +1382,7 @@
 	    if($helper->{'VARS'}->{'ANSWER_TYPE'} eq 'no') {
 		my %form;
 		$form{'grade_target'}='answer';
-		$form{'print_answer'}='yes';
+		$form{'answer_output_mode'}='tex';
 		my $answer=&Apache::lonnet::ssi($currentURL,%form);
 #		$r->print('<pre>'.$answer.'</pre>'); return OK;
 		$texversion=~s/(\\end{document})/$answer$1/;