[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm /html/adm/help/tex Formula_Editor.tex doc/loncapafiles loncapafiles.lpml
www
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 10 Jun 2008 15:22:43 -0000
www Tue Jun 10 11:22:43 2008 EDT
Added files:
/loncom/html/adm/help/tex Formula_Editor.tex
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom/homework/caparesponse caparesponse.pm
Log:
Help link for formula editor
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.589 doc/loncapafiles/loncapafiles.lpml:1.590
--- doc/loncapafiles/loncapafiles.lpml:1.589 Fri May 30 21:51:47 2008
+++ doc/loncapafiles/loncapafiles.lpml Tue Jun 10 11:22:34 2008
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.589 2008/05/31 01:51:47 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.590 2008/06/10 15:22:34 www Exp $ -->
<!--
@@ -2670,6 +2670,7 @@
Finding_Resources.tex;
Foils.tex;
Formula_Answers.tex;
+Formula_Editor.tex;
Formula_Response_Adv_Intro.tex;
Formula_Response_Example.tex;
Formula_Response_Limitations.tex;
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.225 loncom/homework/caparesponse/caparesponse.pm:1.226
--- loncom/homework/caparesponse/caparesponse.pm:1.225 Fri May 30 12:04:33 2008
+++ loncom/homework/caparesponse/caparesponse.pm Tue Jun 10 11:22:39 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# caparesponse definition
#
-# $Id: caparesponse.pm,v 1.225 2008/05/30 16:04:33 www Exp $
+# $Id: caparesponse.pm,v 1.226 2008/06/10 15:22:39 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -326,6 +326,7 @@
sub edit_formula_button {
my ($id,$field)=@_;
my $button=&mt('Edit Answer');
+ my $helplink=&Apache::loncommon::help_open_topic('Formula_Editor');
return(<<ENDFORMULABUTTON);
<script language="JavaScript">
function edit_${id}_${field} (textarea) {
@@ -334,7 +335,7 @@
newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable");
}
</script>
-<input type='button' value='$button' onclick="javascript:edit_${id}_${field}('${field}');void(0);" />
+<input type='button' value='$button' onclick="javascript:edit_${id}_${field}('${field}');void(0);" />$helplink
ENDFORMULABUTTON
}
Index: loncom/html/adm/help/tex/Formula_Editor.tex
+++ loncom/html/adm/help/tex/Formula_Editor.tex
\label{Formula_Editor}
You can use the ``Edit Answer'' button in problems that require algebraic answers to both edit and verify your formulas. For example, you can type first and then use
``Edit Answer'' to look at a rendering of your formula, or construct your answer using the editor.