[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Fri, 10 Feb 2006 11:56:50 -0000
foxr Fri Feb 10 06:56:50 2006 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.(bug 4628): Incorrect pass 1 substitution of $number_of_columns before it
was known... moved substitution into latex_corrections.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.420 loncom/interface/lonprintout.pm:1.421
--- loncom/interface/lonprintout.pm:1.420 Mon Feb 6 17:01:54 2006
+++ loncom/interface/lonprintout.pm Fri Feb 10 06:56:49 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.420 2006/02/06 22:01:54 albertel Exp $
+# $Id: lonprintout.pm,v 1.421 2006/02/10 11:56:49 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -751,7 +751,6 @@
sub latex_corrections {
my ($number_of_columns,$result,$selectionmade,$answer_mode) = @_;
-
# $result =~ s/\\includegraphics{/\\includegraphics\[width=\\minipagewidth\]{/g;
$result =~ s/\$number_of_columns/$number_of_columns/g;
if ($selectionmade eq '1' || $answer_mode eq 'only') {
@@ -781,7 +780,6 @@
}
$result =~ s/(\\end{tabular})\s*\\vskip 0 mm/$1/g;
$result =~ s/(\\begin{enumerate})\s*\\noindent/$1/g;
-
return $result;
}
@@ -1805,7 +1803,8 @@
} else {
$rendered =~ s/\\end{document}//;
}
- $current_output .= $rendered.'\vskip 0.5mm\noindent\makebox[\textwidth/'.$number_of_columns.'][b]{\hrulefill}\strut \vskip 0 mm \strut ';
+ $current_output .= $rendered.'\vskip 0.5mm\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill}\strut \vskip 0 mm \strut ';
+
} else {
my $rendered = &unsupported($res_url,$helper->{'VARS'}->{'LATEX_TYPE'},$curresline);
if ($remove_latex_header ne 'NO') {