[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Mon, 14 Oct 2002 14:37:38 -0000
sakharuk Mon Oct 14 10:37:38 2002 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
Small correction in part tag neccessary to print problems without offsets.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.123 loncom/homework/structuretags.pm:1.124
--- loncom/homework/structuretags.pm:1.123 Thu Oct 3 09:38:02 2002
+++ loncom/homework/structuretags.pm Mon Oct 14 10:37:37 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.123 2002/10/03 13:38:02 sakharuk Exp $
+# $Id: structuretags.pm,v 1.124 2002/10/14 14:37:37 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -623,11 +623,11 @@
if ( $target eq "web" ) {
$result="<br />Part is not open to be viewed. It $accessmsg<br />";
} elsif ( $target eq 'tex' ) {
- $result="\\vskip 0 mm Part is not open to be viewed. It $accessmsg \\\\";
+ $result="\\end{minipage}\\vskip 0 mm Part is not open to be viewed. It $accessmsg \\\\\\begin{minipage}{\\textwidth}";
}
} else {
if ($target eq 'tex') {
- $result='\end{minipage}\vskip 0 mm\begin{minipage}{\textwidth}';
+ $result='\end{minipage}\vskip 0 mm \noindent \begin{minipage}{\textwidth}\noindent';
}
}
}