[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
www
www at source.lon-capa.org
Mon Nov 7 08:41:43 EST 2011
www Mon Nov 7 13:41:43 2011 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Cleanup
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.603 loncom/interface/lonprintout.pm:1.604
--- loncom/interface/lonprintout.pm:1.603 Sat Nov 5 22:50:47 2011
+++ loncom/interface/lonprintout.pm Mon Nov 7 13:41:43 2011
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.603 2011/11/05 22:50:47 www Exp $
+# $Id: lonprintout.pm,v 1.604 2011/11/07 13:41:43 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3070,10 +3070,9 @@
$texversion.='\vskip 0 mm \noindent ';
$texversion.=&path_to_problem ($urlp,$LaTeXwidth);
} else {
- $texversion.='\vskip 0 mm \noindent\textbf{Prints from construction space - there is no title.}\vskip 0 mm ';
- my $URLpath=$urlp;
- $URLpath=~s/~([^\/]+)/public_html\/$1\/$1/;
- $texversion.=&path_to_problem ($URLpath,$LaTeXwidth);
+ $texversion.='\vskip 0 mm \noindent\textbf{'.
+ &mt("Printing from Construction Space: No Title").'}\vskip 0 mm ';
+ $texversion.=&path_to_problem ($urlp,$LaTeXwidth);
}
$texversion.='\vskip 1 mm '.$answer.'\end{document}';
}
More information about the LON-CAPA-cvs
mailing list