old_contents: define(["mathjax"], function() {
  
  	// Allow labels and numbers to be reset:
  	// https://groups.google.com/forum/#!msg/mathjax-users/kzOOFw1qtxw/YdAEPJfCEXUJ
  
  	MathJax.resetLabels = function() {
  		//var AMS = MathJax.Extension["TeX/AMSmath"];
  		//AMS.startNumber = 0;
  		//AMS.labels = {};
  	}
  
  	// Allow inline maths with single $s
  	MathJax.Hub.Config({
  
  		config: ["TeX-AMS_HTML.js"],
  		
  		tex2jax: {
  		inlineMath: [ ['$','$'], ["\\(","\\)"] ],
  		displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
  		processEscapes: true,
  		preview: ["---"],
  		},
  		TeX: {
  			Macros: {
  				// See http://docs.mathjax.org/en/latest/tex.html#defining-tex-macros
  				"quantity": ["{#1}\\,{\\rm{#2}}",2],
  				"valuedef": ["{#1}={\\quantity{#2}{#3}}",3],
  				"vtr": ["{\\underline{\\boldsymbol{#1}}}",1],
  				"d": "\\operatorname{d}",
  				"vari": ["#1",1],
  				"s": ["_{\\sf{#1}}", 1],
  				"half": ["\\frac{1}{2}",0],
  				"third": ["\\frac{1}{3}",0],
  				"quarter": ["\\frac{1}{4}",0],
  				"eighth": ["\\frac{1}{8}",0],
  				"e": ["\\textrm{e}",0],
  				"units": ["\\rm{#1}",1],
  				"standardstate": ["\\mathbin{\u29B5}",0],
  				"and": ["{#1} \\wedge {#2}", 2],
  				"or": ["{#1} \\lor {#2}", 2],
  				"not": ["\\lnot{#1}", 1],
  			},
  			extensions: ["mhchem.js"],
  
  		},
  	});
  
  	// Fix font issues in Chrome 32
  	// https://groups.google.com/forum/#!msg/mathjax-users/S5x-RQDPJrI/p4nmRXJvoskJ
  
  	MathJax.Hub.Config({
  		extensions: ["MatchWebFonts.js"]
  	});
  
  	if (MathJax.Hub.Browser.isChrome /*&& MathJax.Hub.Browser.version.substr(0,3) === "32."*/) {
  		MathJax.Hub.Register.StartupHook(
  			"HTML-CSS Jax Config",
  			function () {MathJax.OutputJax["HTML-CSS"].FontFaceBug = true}
  		);
  	}
  
  	MathJax.Hub.Configured();
  
  });
  
  // Here is a very useful page:
  
  // http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
  
new_contents: define(["mathjax"], function() {
  
  	// Allow labels and numbers to be reset:
  	// https://groups.google.com/forum/#!msg/mathjax-users/kzOOFw1qtxw/YdAEPJfCEXUJ
  
  	MathJax.resetLabels = function() {
  		//var AMS = MathJax.Extension["TeX/AMSmath"];
  		//AMS.startNumber = 0;
  		//AMS.labels = {};
  	}
  
  	// Allow inline maths with single $s
  	MathJax.Hub.Config({
  
  		config: ["TeX-AMS_HTML.js"],
  		
  		tex2jax: {
  		inlineMath: [ ['$','$'], ["\\(","\\)"] ],
  		displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
  		processEscapes: true,
  		preview: ["---"],
  		},
  		TeX: {
  			Macros: {
  				// See http://docs.mathjax.org/en/latest/tex.html#defining-tex-macros
  				"quantity": ["{#1}\\,{\\rm{#2}}",2],
  				"valuedef": ["{#1}={\\quantity{#2}{#3}}",3],
  				"vtr": ["{\\underline{\\boldsymbol{#1}}}",1],
  				"d": "\\mathrm{d}",
  				"vari": ["#1",1],
  				"s": ["_{\\sf{#1}}", 1],
  				"half": ["\\frac{1}{2}",0],
  				"third": ["\\frac{1}{3}",0],
  				"quarter": ["\\frac{1}{4}",0],
  				"eighth": ["\\frac{1}{8}",0],
  				"e": ["\\textrm{e}",0],
  				"units": ["\\rm{#1}",1],
  				// Chemistry:
  				"standardstate": ["\\mathbin{\u29B5}",0],
  				// Boolean Algebra:
  				"true": "\\boldsymbol{\\rm{T}}",
  				"false": "\\boldsymbol{\\rm{F}}",
  				"and": ["{#1} \\wedge {#2}", 2],
  				"or": ["{#1} \\lor {#2}", 2],
  				"not": ["\\lnot{#1}", 1],
  				"xor": ["{#1} \\veebar {#2}", 2],
  				"equivalent": "\\equiv"
  			},
  			extensions: ["mhchem.js"],
  
  		},
  	});
  
  	// Fix font issues in Chrome 32
  	// https://groups.google.com/forum/#!msg/mathjax-users/S5x-RQDPJrI/p4nmRXJvoskJ
  
  	MathJax.Hub.Config({
  		extensions: ["MatchWebFonts.js"]
  	});
  
  	if (MathJax.Hub.Browser.isChrome /*&& MathJax.Hub.Browser.version.substr(0,3) === "32."*/) {
  		MathJax.Hub.Register.StartupHook(
  			"HTML-CSS Jax Config",
  			function () {MathJax.OutputJax["HTML-CSS"].FontFaceBug = true}
  		);
  	}
  
  	MathJax.Hub.Configured();
  
  });
  
  // Here is a very useful page:
  
  // http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
  
subject: Expand boolean logic symbol set