--- loncom/interface/lonprintout.pm 2005/02/09 19:53:55 1.343.2.3 +++ loncom/interface/lonprintout.pm 2005/02/09 19:57:19 1.343.2.4 @@ -1,7 +1,7 @@ # 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.343.2.4 2005/02/09 19:57:19 albertel 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') || (!$ENV{'request.role.adv'})) { $output.='\batchmode'; } $output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n".