[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Mon, 27 Jan 2003 17:30:27 -0000
sakharuk Mon Jan 27 12:30:27 2003 EDT
Modified files:
/loncom/homework inputtags.pm
Log:
Bug #1091 is fixed. Instead of number of tries (meaningless in the construction space) I added command "\vskip 0 mm" which 1. gives you possibility to go to the next line (finish part of the problem)l 2. does not interfere with anothe newline commands (It is not commulative).
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.82 loncom/homework/inputtags.pm:1.83
--- loncom/homework/inputtags.pm:1.82 Fri Jan 24 17:32:08 2003
+++ loncom/homework/inputtags.pm Mon Jan 27 12:30:27 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.82 2003/01/24 22:32:08 www Exp $
+# $Id: inputtags.pm,v 1.83 2003/01/27 17:30:27 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -478,6 +478,8 @@
if ($target eq 'tex') {
if ($ENV{'request.state'} ne "construct") {
$trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} \vskip 0 mm ';
+ } else {
+ $trystr = '\vskip 0 mm ';
}
} else {
$trystr = "<td>Tries $tries/$maxtries</td>";