commit 161b463141d3626edb6948804d329ffe36b75c95
parent c794e7ce19346ad9b3490bc744bc1c43a251b8b8
Author: Davide P. Cervone <dpvc@union.edu>
Date: Fri, 12 Aug 2011 08:27:36 -0400
Switch order of commented out formats to avoid final comma problems if they are uncommented
Diffstat:
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/config/default.js b/config/default.js
@@ -380,17 +380,14 @@ MathJax.Hub.Config({
//
// Equation numbering parameters.
//
- // If you uncomment any of the format parameters, be sure to add
- // a comma after autoNumber, and be sure you don't have a comma
- // after the last uncommented format.
- //
equationNumbers: {
- autoNumber: "none" // "AMS" for standard AMS environment numbering,
- // or "all" to number all displayed equations
// formatNumber: function (n) {return n}, // format for equation number n
// formatTag: function (n) {return '('+n+')'}, // format for \tag and \eqref
// formatID: function (n) {return 'mjx-eqn-'+n}, // element ID to use for reference
-// formatURL: function (n) {return '#mjx-eqn-'+escape(n)} // URL to use for references
+// formatURL: function (n) {return '#mjx-eqn-'+escape(n)}, // URL to use for references
+
+ autoNumber: "none" // "AMS" for standard AMS environment numbering,
+ // or "all" to number all displayed equations
}
},
diff --git a/unpacked/config/default.js b/unpacked/config/default.js
@@ -380,17 +380,14 @@ MathJax.Hub.Config({
//
// Equation numbering parameters.
//
- // If you uncomment any of the format parameters, be sure to add
- // a comma after autoNumber, and be sure you don't have a comma
- // after the last uncommented format.
- //
equationNumbers: {
- autoNumber: "none" // "AMS" for standard AMS environment numbering,
- // or "all" to number all displayed equations
// formatNumber: function (n) {return n}, // format for equation number n
// formatTag: function (n) {return '('+n+')'}, // format for \tag and \eqref
// formatID: function (n) {return 'mjx-eqn-'+n}, // element ID to use for reference
-// formatURL: function (n) {return '#mjx-eqn-'+escape(n)} // URL to use for references
+// formatURL: function (n) {return '#mjx-eqn-'+escape(n)}, // URL to use for references
+
+ autoNumber: "none" // "AMS" for standard AMS environment numbering,
+ // or "all" to number all displayed equations
}
},