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

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 13 Jan 2003 21:23:06 -0000


sakharuk		Mon Jan 13 16:23:06 2003 EDT

  Modified files:              
    /loncom/homework	outputtags.pm 
  Log:
   Changes to print exams with bubbles.
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.24 loncom/homework/outputtags.pm:1.25
--- loncom/homework/outputtags.pm:1.24	Fri Nov 22 15:06:21 2002
+++ loncom/homework/outputtags.pm	Mon Jan 13 16:23:06 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.24 2002/11/22 20:06:21 albertel Exp $
+# $Id: outputtags.pm,v 1.25 2003/01/13 21:23:06 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -94,7 +94,7 @@
 	$result=&Apache::edit::tag_start($target,$token);
 	$result.='</td></tr>';
 	$result.=&Apache::edit::end_table();
-    } elsif ($target eq 'tex') {
+    } elsif ($target eq 'tex' and $Apache::lonhomework::type ne 'exam') {
 	$Apache::lonhomework::name=~s/%/\%/g;
 	$Apache::lonhomework::name=~s/&/\&/g;
 	$result='\vskip 0 mm\noindent\textbf{'.$Apache::lonhomework::name.'}\vskip 0 mm';