[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Mon, 27 Dec 2004 14:07:28 -0000
foxr Mon Dec 27 09:07:28 2004 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Bug 3602
- Ensure the packages needed for \parpic are installed.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.343 loncom/interface/lonprintout.pm:1.344
--- loncom/interface/lonprintout.pm:1.343 Mon Dec 20 16:52:57 2004
+++ loncom/interface/lonprintout.pm Mon Dec 27 09:07:28 2004
@@ -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.344 2004/12/27 14:07:28 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -703,7 +703,8 @@
}
$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 @@
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')){