[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonprintout.pm
raeburn
raeburn at source.lon-capa.org
Wed Aug 10 12:25:25 EDT 2016
raeburn Wed Aug 10 16:25:25 2016 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonprintout.pm
Log:
- For 2.11
- Backport 1.650
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.17 loncom/interface/lonprintout.pm:1.627.2.18
--- loncom/interface/lonprintout.pm:1.627.2.17 Wed Aug 10 00:56:37 2016
+++ loncom/interface/lonprintout.pm Wed Aug 10 16:25:24 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.627.2.17 2016/08/10 00:56:37 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.18 2016/08/10 16:25:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1981,8 +1981,8 @@
if ($result =~ m/&(\w+|#\d+);/) {
$result = &character_chart($result);
}
- $result =~ s/(\\end{tabular})\s*\\vskip 0 mm/$1/g;
- $result =~ s/(\\begin{enumerate})\s*\\noindent/$1/g;
+ $result =~ s/(\\end\{tabular})\s*\\vskip 0 mm/$1/g;
+ $result =~ s/(\\begin\{enumerate})\s*\\noindent/$1/g;
return $result;
}
@@ -2591,7 +2591,7 @@
$result .= $texversion;
}
}
- if ($helper->{VARS}->{'construction'} eq '1') {$result=~s/(\\begin{document})/$1 \\fbox\{RANDOM SEED IS $rndseed\} /;}
+ if ($helper->{VARS}->{'construction'} eq '1') {$result=~s/(\\begin\{document})/$1 \\fbox\{RANDOM SEED IS $rndseed\} /;}
return $result;
}
@@ -3402,7 +3402,7 @@
#this chunk is responsible for printing the path to problem
my $newurlp=&path_to_problem($urlp,$LaTeXwidth);
- $texversion =~ s/(\\begin\{minipage}{\\textwidth})/$1 $newurlp/;
+ $texversion =~ s/(\\begin\{minipage}\{\\textwidth})/$1 $newurlp/;
if ($flag_latex_header_remove ne 'NO') {
$texversion = &latex_header_footer_remove($texversion);
} else {
More information about the LON-CAPA-cvs
mailing list