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

raeburn raeburn@source.lon-capa.org
Mon, 23 Aug 2010 04:43:04 -0000


raeburn		Mon Aug 23 04:43:04 2010 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  - Bug 6324.
   - reversing change in rev 1.109 (bug 2966), and replacing enumeration with bullets. 
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.166 loncom/homework/optionresponse.pm:1.167
--- loncom/homework/optionresponse.pm:1.166	Mon Aug 23 03:57:48 2010
+++ loncom/homework/optionresponse.pm	Mon Aug 23 04:43:04 2010
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.166 2010/08/23 03:57:48 raeburn Exp $
+# $Id: optionresponse.pm,v 1.167 2010/08/23 04:43:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -179,8 +179,7 @@
   }
   if ($target eq 'tex' and $Apache::lonhomework::type ne 'exam') {
     if($env{'form.pdfFormFields'} ne 'yes') {
-      $result .= ' \renewcommand{\labelenumi}{\Alph{enumi}.}
-                   \begin{enumerate} ';
+      $result .= ' \begin{itemize} ';
     } else {
       $result .= "\\\\";
     }
@@ -327,7 +326,7 @@
   }
   if ($target eq 'tex' and $Apache::lonhomework::type ne 'exam') {
     if($env{'form.pdfFormFields'} ne 'yes') {
-      $result .= '\end{enumerate}';
+      $result .= '\end{itemize}'; 
     } else {
       $result .= "\\\\";
     }