--- loncom/interface/lonprintout.pm 2004/12/20 21:52:57 1.343
+++ loncom/interface/lonprintout.pm 2005/01/04 13:58:34 1.347
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.343 2004/12/20 21:52:57 albertel Exp $
+# $Id: lonprintout.pm,v 1.347 2005/01/04 13:58:34 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -432,8 +432,8 @@ sub character_chart {
my %page_formats=
('letter' => {
'book' => {
- '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']
+ '1' => [ '7.1 in','10.0 in', '-0.57 in','-0.57 in','1 cm'],
+ '2' => ['3.66 in','10.0 in', '-0.57 in','-0.57 in','1 cm']
},
'album' => {
'1' => [ '8.8 in', '6.8 in','-40 pt in', '-60 pt','1 cm'],
@@ -703,7 +703,8 @@ sub print_latex_header {
}
$output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n".
'\usepackage{longtable}\usepackage{textcomp}\usepackage{makeidx}'."\n".
- '\usepackage[dvips]{graphicx}\usepackage{epsfig}\usepackage{calc}'."\n".
+ '\usepackage[dvips]{graphicx}\usepackage{epsfig}'."\n".
+ '\usepackage{picins}\usepackage{calc}'."\n".
'\newenvironment{choicelist}{\begin{list}{}{\setlength{\rightmargin}{0in}'."\n".
'\setlength{\leftmargin}{0.13in}\setlength{\topsep}{0.05in}'."\n".
'\setlength{\itemsep}{0.022in}\setlength{\parsep}{0in}'."\n".
@@ -1103,7 +1104,9 @@ ENDPART
if (&Apache::loncommon::connection_aborted($r)) { last; }
}
&Apache::lonnet::delenv('form.counter');
- if ($flag_page_in_sequence eq 'YES') {$result =~ s/\\usepackage{calc}/\\usepackage{calc}\\usepackage{longtable}/;}
+ if ($flag_page_in_sequence eq 'YES') {
+ $result =~ s/\\usepackage{calc}/\\usepackage{calc}\\usepackage{longtable}/;
+ }
$result .= '\end{document}';
} elsif (($helper->{'VARS'}->{'PRINT_TYPE'} eq 'problems_for_students') ||
($helper->{'VARS'}->{'PRINT_TYPE'} eq 'resources_for_students')){
@@ -1705,6 +1708,7 @@ sub printHelper {
return $isProblem;
$map
return $symbFilter;
+
@@ -1716,6 +1720,7 @@ sub printHelper {
return $isNotMap;
$map
return $symbFilter;
+
HELPERFRAGMENT
@@ -1737,6 +1742,7 @@ HELPERFRAGMENT
return $isProblemOrMap;
return $isNotMap;
return $symbFilter;
+
ALL_PROBLEMS
@@ -1752,6 +1758,7 @@ ALL_PROBLEMS
return $isProblem;
$map
return $symbFilter;
+