[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 28 Oct 2002 14:47:23 -0000


sakharuk		Mon Oct 28 09:47:23 2002 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
   Now title of the problem never can be printed separately from the problem (on the other sheet of paper).
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.128 loncom/homework/structuretags.pm:1.129
--- loncom/homework/structuretags.pm:1.128	Thu Oct 17 13:34:10 2002
+++ loncom/homework/structuretags.pm	Mon Oct 28 09:47:22 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.128 2002/10/17 17:34:10 albertel Exp $
+# $Id: structuretags.pm,v 1.129 2002/10/28 14:47:22 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -634,7 +634,9 @@
       }
     } else {
       if ($target eq 'tex') {
-	$result='\noindent \end{minipage}\vskip 0 mm \noindent \begin{minipage}{\textwidth}\noindent';
+	if ($$tagstack[-2] ne 'problem') {
+	  $result.='\noindent \end{minipage}\vskip 0 mm \noindent \begin{minipage}{\textwidth}\noindent';
+	}
       }
     }
   }