[LON-CAPA-cvs] cvs: loncom /interface lonpreferences.pm
bisitz
bisitz at source.lon-capa.org
Mon May 26 11:21:27 EDT 2014
bisitz Mon May 26 15:21:27 2014 EDT
Modified files:
/loncom/interface lonpreferences.pm
Log:
Math display settings:
- MathJax information: internationalization
- Consistent height of example iframes
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.212 loncom/interface/lonpreferences.pm:1.213
--- loncom/interface/lonpreferences.pm:1.212 Sat Feb 15 17:59:33 2014
+++ loncom/interface/lonpreferences.pm Mon May 26 15:21:27 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.212 2014/02/15 17:59:33 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.213 2014/05/26 15:21:27 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -183,6 +183,7 @@
'change' => 'Save',
'exmpl' => 'Examples',
'mathjax' => 'MathJax:',
+ 'mathjaxinfo' => 'MathJax provides rendered equations whose source code can be extracted in TeX and MathML formats by right clicking the equation.',
'jsmath' => 'jsMath:',
'tth' => 'tth (TeX to HTML):',
'mimetex' => 'mimetex (Convert to Images):',
@@ -219,10 +220,10 @@
<h3>$lt{'mathjax'}</h3>
</script>
-<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=MathJax" width="400" height="120"></iframe>
+<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=MathJax" width="400" height="150"></iframe>
</p>
<p>
-MathJax provides rendered equations whose source code can be extracted in TeX and MathML formats by right clicking the equation.
+$lt{'mathjaxinfo'}
</p>
<h3>$lt{'jsmath'}</h3>
@@ -234,17 +235,17 @@
}
</script>
-<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=jsMath" width="400" height="120"></iframe>
+<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=jsMath" width="400" height="150"></iframe>
</p>
<h3>$lt{'mimetex'}</h3>
<p>
-<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=mimetex" width="400" height="100"></iframe>
+<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=mimetex" width="400" height="150"></iframe>
</p>
<h3>$lt{'tth'}</h3>
<p>
-<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=tth" width="400" height="220"></iframe>
+<iframe src="/res/adm/pages/math_example.tex?inhibitmenu=yes&texengine=tth" width="400" height="150"></iframe>
</p>
ENDLSCREEN
if ($env{'environment.texengine'} ne 'jsMath') {
More information about the LON-CAPA-cvs
mailing list