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

foxr foxr@source.lon-capa.org
Thu, 16 Jun 2011 11:59:16 -0000


foxr		Thu Jun 16 11:59:16 2011 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  BZ5209: Get empty student followed by non-empty student print to work for
  cc print of incomplete problems.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.591 loncom/interface/lonprintout.pm:1.592
--- loncom/interface/lonprintout.pm:1.591	Tue Jun 14 10:22:39 2011
+++ loncom/interface/lonprintout.pm	Thu Jun 16 11:59:16 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.591 2011/06/14 10:22:39 foxr Exp $
+# $Id: lonprintout.pm,v 1.592 2011/06/16 11:59:16 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3356,9 +3356,9 @@
     #
     if ($actually_printed == 0) {
 
-	$current_output  = 'No incomplete resources';
-	$current_output .= '\end{document}';
+	$current_output  = &encapsulate_minipage("\\vskip -10mm \nNo incomplete resources\n \\vskip 100 mm { }\n");
 	$current_output = &print_latex_header() . $current_output;
+
     }
 
     if ($syllabus_first) {