--- loncom/interface/lonprintout.pm 2002/04/26 18:19:05 1.24 +++ loncom/interface/lonprintout.pm 2002/05/02 21:21:38 1.25 @@ -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 @@ sub menu_for_output { $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 @@ ENDPART $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);