--- loncom/interface/lonprintout.pm 2005/02/09 19:53:55 1.343.2.3 +++ loncom/interface/lonprintout.pm 2005/02/07 12:00:13 1.356 @@ -1,7 +1,7 @@ -# The LearningOnline Network +# The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.343.2.3 2005/02/09 19:53:55 albertel Exp $ +# $Id: lonprintout.pm,v 1.356 2005/02/07 12:00:13 foxr 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(<