[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Mon, 17 Jul 2006 10:41:31 -0000
foxr Mon Jul 17 06:41:31 2006 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
User margins even in 2 col mode.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.460 loncom/interface/lonprintout.pm:1.461
--- loncom/interface/lonprintout.pm:1.460 Mon Jul 17 06:17:40 2006
+++ loncom/interface/lonprintout.pm Mon Jul 17 06:41:30 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.460 2006/07/17 10:17:40 foxr Exp $
+# $Id: lonprintout.pm,v 1.461 2006/07/17 10:41:30 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1766,12 +1766,12 @@
$selectionmade,
$helper->{'VARS'}->{'ANSWER_TYPE'});
}
- if ($numberofcolumns == 1) {
+# if ($numberofcolumns == 1) {
$result =~ s/\\textwidth\s*=\s*-?\d*\.?\d*\s*(cm|mm|in)/\\textwidth= $helper->{'VARS'}->{'pagesize.width'} $helper->{'VARS'}->{'pagesize.widthunit'} /;
$result =~ s/\\textheight\s*=?\s*-?\d*\.?\d*\s*(cm|mm|in)/\\textheight $helper->{'VARS'}->{'pagesize.height'} $helper->{'VARS'}->{'pagesize.heightunit'} /;
$result =~ s/\\evensidemargin\s*=\s*-?\d*\.?\d*\s*(cm|mm|in)/\\evensidemargin= $helper->{'VARS'}->{'pagesize.lmargin'} $helper->{'VARS'}->{'pagesize.lmarginunit'} /;
$result =~ s/\\oddsidemargin\s*=\s*-?\d*\.?\d*\s*(cm|mm|in)/\\oddsidemargin= $helper->{'VARS'}->{'pagesize.lmargin'} $helper->{'VARS'}->{'pagesize.lmarginunit'} /;
- }
+# }
#-- writing .tex file in prtspool
my $temp_file;