[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonprintout.pm

raeburn raeburn at source.lon-capa.org
Thu Feb 21 15:40:12 EST 2019


raeburn		Thu Feb 21 20:40:12 2019 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - For 2.11
    Backport 1.669. 
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.26 loncom/interface/lonprintout.pm:1.627.2.27
--- loncom/interface/lonprintout.pm:1.627.2.26	Wed Feb  6 01:10:09 2019
+++ loncom/interface/lonprintout.pm	Thu Feb 21 20:40:12 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.627.2.26 2019/02/06 01:10:09 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.27 2019/02/21 20:40:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -848,8 +848,8 @@
     if ($font_size ne '') {
 
 	$text =~ s/\\begin\{document}/\\begin{document}{\\$font_size/;
+	$text =~ s/\\end\{document}/}\\end{document}/;
     }
-    $text =~ s/\\end\{document}/}\\end{document}/;
     return $text;
 
 
@@ -4808,7 +4808,7 @@
             my $xmlfrag = << "FONT_SELECTION";
 
           
-            <dropdown variable='fontsize' multichoice='0', allowempty='0'>
+            <dropdown variable='fontsize' multichoice='0' allowempty='0'>
             <defaultvalue>
 		  return 'normalsize';
             </defaultvalue>




More information about the LON-CAPA-cvs mailing list