[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
raeburn
raeburn at source.lon-capa.org
Tue Feb 18 21:12:57 EST 2014
raeburn Wed Feb 19 02:12:57 2014 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- Modify changes to rev. 1.619 (for bug 6499). If printing only a single resource
(which could occupy more than one page), explictly insert header line, so new
CODE or Name is shown on first page of each student's assignment.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.639 loncom/interface/lonprintout.pm:1.640
--- loncom/interface/lonprintout.pm:1.639 Sat Feb 8 23:49:12 2014
+++ loncom/interface/lonprintout.pm Wed Feb 19 02:12:57 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.639 2014/02/08 23:49:12 raeburn Exp $
+# $Id: lonprintout.pm,v 1.640 2014/02/19 02:12:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3772,7 +3772,7 @@
$current_output =~ s/\\\\ Last updated:/Last updated:/
}
my $newheader;
- unless ($assessment_first) {
+ unless (($assessment_first) && ($actually_printed > 1)) {
my $currentassignment=&Apache::lonxml::latex_special_symbols($helper->{VARS}->{'assignment'},'header');
my $header_line =
&format_page_header($LaTeXwidth, $parmhash{'print_header_format'},
More information about the LON-CAPA-cvs
mailing list