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

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 22 Jul 2002 18:43:37 -0000


sakharuk		Mon Jul 22 14:43:37 2002 EDT

  Modified files:              
    /loncom/homework	outputtags.pm 
  Log:
  added latex output for displaytitle tag.
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.15 loncom/homework/outputtags.pm:1.16
--- loncom/homework/outputtags.pm:1.15	Thu Jan 17 07:23:31 2002
+++ loncom/homework/outputtags.pm	Mon Jul 22 14:43:37 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.15 2002/01/17 12:23:31 harris41 Exp $
+# $Id: outputtags.pm,v 1.16 2002/07/22 18:43:37 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -81,6 +81,8 @@
     $result=&Apache::edit::tag_start($target,$token);
     $result.='</td></tr>';
     $result.=&Apache::edit::end_table();
+  } elsif ($target eq 'tex') {
+      $result='\textbf{'.$Apache::lonhomework::name.'}';
   }
   return $result;
 }