--- loncom/interface/lonprintout.pm 2004/11/13 09:27:47 1.336 +++ loncom/interface/lonprintout.pm 2004/11/16 21:59:48 1.338 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.336 2004/11/13 09:27:47 albertel Exp $ +# $Id: lonprintout.pm,v 1.338 2004/11/16 21:59:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -374,11 +374,11 @@ sub character_chart { my %page_formats= ('letter' => { 'book' => { - '1' => [ '7.1 in','10.2 in', '-0.57 in','-0.57 in','0 in'], - '2' => ['3.66 in','10.2 in', '-0.57 in','-0.57 in','0 in'] + '1' => [ '7.1 in','10.2 in', '-0.57 in','-0.57 in','1 cm'], + '2' => ['3.66 in','10.2 in', '-0.57 in','-0.57 in','1 cm'] }, 'album' => { - '1' => [ '8.8 in', '6.8 in','-40 pt in', '-60 pt','0 in'], + '1' => [ '8.8 in', '6.8 in','-40 pt in', '-60 pt','1 cm'], '2' => [ '4.4 in', '6.8 in','-0.5 in', '-1.5 in','3.5 in'] }, }, @@ -1703,7 +1703,7 @@ CHOOSE_STUDENTS my $cnum = $ENV{'course.'.$ENV{'request.course.id'}.'.num'}; my @names=&Apache::lonnet::getkeys('CODEs',$cdom,$cnum); my $namechoice=''; - foreach my $name (@names) { + foreach my $name (sort {uc($a) cmp uc($b)} @names) { if ($name =~ /^error: 2 /) { next; } $namechoice.=''.$name.''; }