--- loncom/interface/lonprintout.pm 2005/02/07 17:12:46 1.358 +++ loncom/interface/lonprintout.pm 2005/02/09 15:56:45 1.359 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.358 2005/02/07 17:12:46 albertel Exp $ +# $Id: lonprintout.pm,v 1.359 2005/02/09 15:56:45 www 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') { + if (($mode eq 'batchmode') || (!$ENV{'request.role.adv'})) { $output.='\batchmode'; } $output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n".