--- loncom/interface/lonprintout.pm 2005/02/09 19:57:19 1.343.2.4 +++ loncom/interface/lonprintout.pm 2005/02/07 17:07:27 1.357 @@ -1,7 +1,7 @@ -# The LearningOnline Network +# The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.343.2.4 2005/02/09 19:57:19 albertel Exp $ +# $Id: lonprintout.pm,v 1.357 2005/02/07 17:07:27 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -698,7 +698,7 @@ sub IndexCreation { sub print_latex_header { my $mode=shift; my $output='\documentclass[letterpaper]{article}'; - if (($mode eq 'batchmode') || (!$ENV{'request.role.adv'})) { + if ($mode eq 'batchmode') { $output.='\batchmode'; } $output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n". @@ -789,6 +789,9 @@ sub output_data { my %parmhash = %$rparmhash; my $bodytag=&Apache::loncommon::bodytag('Preparing Printout'); $r->print(<