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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 06 May 2004 07:31:32 -0000


albertel		Thu May  6 03:31:32 2004 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  BUG#2966
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.108 loncom/homework/optionresponse.pm:1.109
--- loncom/homework/optionresponse.pm:1.108	Fri Apr 23 17:37:41 2004
+++ loncom/homework/optionresponse.pm	Thu May  6 03:31:32 2004
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.108 2004/04/23 21:37:41 albertel Exp $
+# $Id: optionresponse.pm,v 1.109 2004/05/06 07:31:32 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -148,7 +148,8 @@
     } # else nothing changed so just use the default mechanism
   }
   if ($target eq 'tex' and $Apache::lonhomework::type ne 'exam') {
-      $result .= ' \begin{enumerate} ';
+      $result .= ' \renewcommand{\labelenumi}{\Alph{enumi}.}
+                   \begin{enumerate} ';
   }
   return $result;
 }