[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 02 May 2002 21:21:38 -0000
sakharuk Thu May 2 17:21:38 2002 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
small changes in menu
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.24 loncom/interface/lonprintout.pm:1.25
--- loncom/interface/lonprintout.pm:1.24 Fri Apr 26 14:19:05 2002
+++ loncom/interface/lonprintout.pm Thu May 2 17:21:38 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.24 2002/04/26 18:19:05 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.25 2002/05/02 21:21:38 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -68,15 +68,15 @@
$r->print(<<ENDMENUOUT);
<input type="hidden" name="phase" value="two">
<input type="hidden" name="url" value="$ENV{'form.postdata'}">
-<input type="radio" name="choice" value="Standard LaTeX output for current document"> Current document
+<input type="radio" name="choice" value="Standard LaTeX output for current document" checked> Current document
(you will print what you see on the screen)<br />
<input type="radio" name="choice" value="Standard LaTeX output for the primary sequence"> All problems from the primary sequence<br />
<input type="radio" name="choice" value="Standard LaTeX output for whole primary sequence"> The whole primary sequence (problems plus all html and xml files)<br />
<input type="radio" name="choice" value="Standard LaTeX output for the top level sequence"> All problems from the top level sequence<br />
<br /><hr /><br />
<h1>And what page format do you prefer?</h1>
-<input type="radio" name="layout" value="CBI" checked> CBI <br />
-<input type="radio" name="layout" value="CAPA"> CAPA <br />
+<input type="radio" name="layout" value="CBI"> Two columns landscape (<small>CBI</small>) <br />
+<input type="radio" name="layout" value="CAPA" checked> Two columns portrait (<small>CAPA</small>) <br />
<input type="submit" value="Submit your choice">
</form>
</body>
@@ -221,7 +221,7 @@
$result =~ s/\\documentclass\[letterpaper\]{article}/\\documentclass\[twocolumn\]{article}/;
$result =~ s/\\begin{document}/\\textheight 25\.9cm\\oddsidemargin = -0\.57in\\evensidemargin = -0\.57in\\textwidth= 7\.7in\\renewcommand{\\ref}{\\keephidden\}\\begin{document}\\voffset=-1\.8cm\\setcounter{page}{1}\\noindent\\fbox{\\textbf{$ENV{'environment.firstname'} $ENV{'environment.lastname'}}}\\hskip 1\.4in $courseidinfo \\vskip 5 mm /;
$result =~ s/\\includegraphics/\\includegraphics\[width=9\.0 cm\]/g;
- $result =~ s/(\\end{document})/\\newline\\noindent\\makebox\[9.0cm\]\[b\]{\\hrulefill}\\newline\\noindent\\tiny Dept\. of Physics and Astronomy, MSU\\makebox\[1.5cm\]\[b\]{\\hfill}LON-CAPA\\copyright MSU GNU\/GPS $1/;
+ $result =~ s/(\\end{document})/\\newline\\noindent\\makebox\[9.0cm\]\[b\]{\\hrulefill}\\newline\\noindent\\tiny Dept\. of Physics and Astronomy, MSU\\makebox\[1.5cm\]\[b\]{\\hfill}LON-CAPA\\copyright MSU GNU\/GPL $1/;
}
#-- LaTeX corrections
my $first_comment = index($result,'<!--',0);