--- loncom/homework/structuretags.pm 2002/10/02 18:14:07 1.122 +++ loncom/homework/structuretags.pm 2002/10/14 14:37:37 1.124 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.122 2002/10/02 18:14:07 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 @@ sub start_part { if ( $target eq "web" ) { $result="
Part is not open to be viewed. It $accessmsg
"; } 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='\vskip 0 mm'; + $result='\end{minipage}\vskip 0 mm \noindent \begin{minipage}{\textwidth}\noindent'; } } }