--- loncom/interface/lonprintout.pm 2005/12/23 08:34:43 1.408.2.1 +++ loncom/interface/lonprintout.pm 2005/12/23 08:02:24 1.411 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.408.2.1 2005/12/23 08:34:43 albertel Exp $ +# $Id: lonprintout.pm,v 1.411 2005/12/23 08:02:24 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -816,11 +816,12 @@ sub IndexCreation { sub print_latex_header { my $mode=shift; - my $output='\documentclass[letterpaper]{article}'; + my $output='\documentclass[letterpaper,twoside]{article}'; if (($mode eq 'batchmode') || (!$perm{'pav'})) { $output.='\batchmode'; } $output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n". + '\usepackage{multirow}'."\n". '\usepackage{longtable}\usepackage{textcomp}\usepackage{makeidx}'."\n". '\usepackage[dvips]{graphicx}\usepackage{epsfig}'."\n". '\usepackage{wrapfig}'. @@ -2208,7 +2209,8 @@ CHOOSE_STUDENTS &Apache::lonxml::xmlparse($r, 'helper', < PAGESIZE -
Number of anonymous assignments to print: +
+
Number of anonymous assignments to print? if (((\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'}+0) < 1) && @@ -2221,19 +2223,8 @@ CHOOSE_STUDENTS
- Names to store the CODEs under for later: - - -
- Bubble sheet type: - - - $codechoice - -

-
- Enter a CODE to print: - + Value of CODE to print? + if(!\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'} && !\$helper->{'VARS'}{'REUSE_OLD_CODES'} && @@ -2245,13 +2236,22 @@ CHOOSE_STUDENTS } -

- Reprint a set of saved CODEs: +
+ Names to store the CODEs under for later: + + +
+ Bubble sheet type: + + $codechoice + +
+
+ Reprint a set of saved CODEs: $namechoice -

$resource_selector @@ -2299,7 +2299,7 @@ CHOOSE_STUDENTS1 &Apache::lonxml::xmlparse($r, 'helper', < PAGESIZE -
Number of anonymous assignments to print: +
Number of anonymous assignments to print? if (((\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'}+0) < 1) && @@ -2312,19 +2312,8 @@ CHOOSE_STUDENTS1
- Names to store the CODEs under for later: - - -
- Bubble sheet type: - - - $codechoice - -

-
- Enter a CODE to print: - + Value of CODE to print? + if(!\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'} && !\$helper->{'VARS'}{'REUSE_OLD_CODES'} && @@ -2336,13 +2325,22 @@ CHOOSE_STUDENTS1 } -

- Reprint a set of saved CODEs: +
+ Names to store the CODEs under for later: + + +
+ Bubble sheet type: + + $codechoice + +
+
+ Reprint a set of saved CODEs: $namechoice -

$resource_selector