[LON-CAPA-cvs] cvs: loncom /homework simpleproblem.problem

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 28 Feb 2005 20:39:05 -0000


albertel		Mon Feb 28 15:39:05 2005 EDT

  Modified files:              
    /loncom/homework	simpleproblem.problem 
  Log:
  - support HTML <algebra> <m> in simple problems
  
  
Index: loncom/homework/simpleproblem.problem
diff -u loncom/homework/simpleproblem.problem:1.6 loncom/homework/simpleproblem.problem:1.7
--- loncom/homework/simpleproblem.problem:1.6	Tue Nov  4 11:44:50 2003
+++ loncom/homework/simpleproblem.problem	Mon Feb 28 15:39:05 2005
@@ -29,44 +29,44 @@
 
 <block condition="$questiontype"> 
 
-<startouttext />&EXT('resource.0.questiontext')<br /><endouttext />
+<startouttext /><parse>&EXT('resource.0.questiontext')</parse><br /><endouttext />
 
 <part id="radio">
 <radiobuttonresponse max="$max" id="radiosegment" randomize="$randomize">
 <foilgroup>
 <foil location="$position[1]" value="$value[1]" name="radiofoil1">
-<startouttext />&EXT('resource.0.text1')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text1')</parse><endouttext />
 </foil>
 <foil location="$position[2]" value="$value[2]" name="radiofoil2">
-<startouttext />&EXT('resource.0.text2')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text2')</parse><endouttext />
 </foil>
 <foil location="$position[3]" value="$value[3]" name="radiofoil3">
-<startouttext />&EXT('resource.0.text3')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text3')</parse><endouttext />
 </foil>
 <foil location="$position[4]" value="$value[4]" name="radiofoil4">
-<startouttext />&EXT('resource.0.text4')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text4')</parse><endouttext />
 </foil>
 <foil location="$position[5]" value="$value[5]" name="radiofoil5">
-<startouttext />&EXT('resource.0.text5')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text5')</parse><endouttext />
 </foil>
 <foil location="$position[6]" value="$value[6]" name="radiofoil6">
-<startouttext />&EXT('resource.0.text6')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text6')</parse><endouttext />
 </foil>
 <foil location="$position[7]" value="$value[7]" name="radiofoil7">
-<startouttext />&EXT('resource.0.text7')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text7')</parse><endouttext />
 </foil>
 <foil location="$position[8]" value="$value[8]" name="radiofoil8">
-<startouttext />&EXT('resource.0.text8')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text8')</parse><endouttext />
 </foil>
 <foil location="$position[9]" value="$value[9]" name="radiofoil9">
-<startouttext />&EXT('resource.0.text9')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text9')</parse><endouttext />
 </foil>
 <foil location="$position[10]" value="$value[10]" name="radiofoil10">
-<startouttext />&EXT('resource.0.text10')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text10')</parse><endouttext />
 </foil>
 </foilgroup>
 <hintgroup>
-<startouttext />&EXT('resource.0.hinttext')<endouttext />
+<startouttext /><parse>&EXT('resource.0.hinttext')</parse><endouttext />
 </hintgroup>
 </radiobuttonresponse>
 </part>
@@ -75,38 +75,38 @@
 <optionresponse max="$max" id="optionsegment" randomize="$randomize">
 <foilgroup options="$options">
 <foil location="$position[1]" value="$value[1]" name="optionfoil1">
-<startouttext />&EXT('resource.0.text1')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text1')</parse><endouttext />
 </foil>
 <foil location="$position[2]" value="$value[2]" name="optionfoil2">
-<startouttext />&EXT('resource.0.text2')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text2')</parse><endouttext />
 </foil>
 <foil location="$position[3]" value="$value[3]" name="optionfoil3">
-<startouttext />&EXT('resource.0.text3')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text3')</parse><endouttext />
 </foil>
 <foil location="$position[4]" value="$value[4]" name="optionfoil4">
-<startouttext />&EXT('resource.0.text4')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text4')</parse><endouttext />
 </foil>
 <foil location="$position[5]" value="$value[5]" name="optionfoil5">
-<startouttext />&EXT('resource.0.text5')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text5')</parse><endouttext />
 </foil>
 <foil location="$position[6]" value="$value[6]" name="optionfoil6">
-<startouttext />&EXT('resource.0.text6')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text6')</parse><endouttext />
 </foil>
 <foil location="$position[7]" value="$value[7]" name="optionfoil7">
-<startouttext />&EXT('resource.0.text7')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text7')</parse><endouttext />
 </foil>
 <foil location="$position[8]" value="$value[8]" name="optionfoil8">
-<startouttext />&EXT('resource.0.text8')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text8')</parse><endouttext />
 </foil>
 <foil location="$position[9]" value="$value[9]" name="optionfoil9">
-<startouttext />&EXT('resource.0.text9')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text9')</parse><endouttext />
 </foil>
 <foil location="$position[10]" value="$value[10]" name="optionfoil10">
-<startouttext />&EXT('resource.0.text10')<endouttext />
+<startouttext /><parse>&EXT('resource.0.text10')</parse><endouttext />
 </foil>
 </foilgroup>
 <hintgroup>
-<startouttext />&EXT('resource.0.hinttext')<endouttext />
+<startouttext /><parse>&EXT('resource.0.hinttext')</parse><endouttext />
 </hintgroup>
 </optionresponse>
 </part>
@@ -122,7 +122,7 @@
 <textline>
 </textline>
 <hintgroup>
-<startouttext />&EXT('resource.0.hinttext')<endouttext />
+<startouttext /><parse>&EXT('resource.0.hinttext')</parse><endouttext />
 </hintgroup>
 </stringresponse>
 </part>