--- loncom/interface/lonprintout.pm 2009/06/17 10:21:33 1.554.2.1
+++ loncom/interface/lonprintout.pm 2009/06/17 15:27:14 1.555
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.554.2.1 2009/06/17 10:21:33 foxr Exp $
+# $Id: lonprintout.pm,v 1.555 2009/06/17 15:27:14 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -70,10 +70,6 @@ my $ssi_last_error; # The error text fr
my $ssi_retry_count = 5; # Some arbitrary value.
-# Font size:
-
-my $font_size = 'normalsize'; # Default is normalsize...
-
# Fetch the contents of a resource, uninterpreted.
# This is used here to fetch a latex file to be included
@@ -118,24 +114,6 @@ sub annotate {
return $result;
}
-#
-# Set a global document font size:
-# This is done by replacing \begin{document}
-# with \begin{document}{\some-font-directive
-# and \end{document} with
-# }\end{document
-#
-sub set_font_size {
-
- my ($text) = @_;
-
- $text =~ s/\\begin{document}/\\begin{document}{\\$font_size/;
- $text =~ s/\\end{document}/}\\end{document}/;
- return $text;
-
-
-}
-
# include_pdf - PDF files are included into the
# output as follows:
# - The PDF, if necessary, is replicated.
@@ -2244,11 +2222,6 @@ ENDPART
$URLback=~s|^/~|/priv/|;
}
}
- #
- # Final adjustment of the font size:
- #
-
- $result = set_font_size($result);
#-- writing .tex file in prtspool
my $temp_file;
@@ -3379,7 +3352,7 @@ CHOOSE_FROM_ANY_SEQUENCE
$paramHash->{'multichoice'} = "true";
$paramHash->{'allowempty'} = "true";
$paramHash->{'variable'} = "showallfoils";
- $paramHash->{'CHOICES'} = [ ["Show all foils", "1"] ];
+ $paramHash->{'CHOICES'} = [ [&mt('Show All Foils'), "1"] ];
Apache::lonhelper::choices->new();
&addMessage(&Apache::lonhtmlcommon::row_closure(1));
}
@@ -3416,7 +3389,7 @@ CHOOSE_FROM_ANY_SEQUENCE
.qq||
.$selectfiletext.''
.&Apache::lonhtmlcommon::row_closure()
- .&Apache::lonhtmlcommon::row_title(&mt('Show all foils'))
+ .&Apache::lonhtmlcommon::row_title(&mt('Show All Foils'))
.'