##// END OF EJS Templates
Fixed mathjax inline and some not implemented notice.
damianavila -
Show More
@@ -165,10 +165,10 b' class ExtractFigureTransformer(ActivatableTransformer):'
165 165 count = count+1
166 166 return cell, other
167 167
168
168 169 class RevealHelpTransformer(ConfigurableTransformers):
169 170
170 171 def __call__(self, nb, other):
171 try :
172 172 for worksheet in nb.worksheets :
173 173 for i, cell in enumerate(worksheet.cells):
174 174 cell.metadata.slide_type = cell.metadata.get('slideshow', {}).get('slide_type', None)
@@ -179,8 +179,6 b' class RevealHelpTransformer(ConfigurableTransformers):'
179 179 if cell.metadata.slide_type in ['subslide']:
180 180 worksheet.cells[i - 1].metadata.slide_helper = 'subslide_end'
181 181 return nb, other
182 except NotImplementedError as error :
183 raise NotImplementedError('should be implemented by subclass')
184 182
185 183
186 184 class CSSHtmlHeaderTransformer(ActivatableTransformer):
@@ -92,6 +92,21 b' div.output_prompt {'
92 92 </div>
93 93 <!-- End of social buttons -->
94 94
95 <!-- MathJax configuration -->
96 <script type="text/x-mathjax-config">
97 MathJax.Hub.Config({
98 tex2jax: {
99 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
100 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
101 },
102 displayAlign: 'center', // Change this to 'center' to center equations.
103 "HTML-CSS": {
104 styles: {'.MathJax_Display': {"margin": 0}}
105 }
106 });
107 </script>
108 <!-- End of mathjax configuration -->
109
95 110 <script src="reveal/lib/js/head.min.js"></script>
96 111
97 112 <script src="reveal/js/reveal.min.js"></script>
@@ -114,7 +129,6 b' dependencies: ['
114 129 { src: 'reveal/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
115 130 { src: 'notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
116 131 { src: 'http://s7.addthis.com/js/300/addthis_widget.js', async: true},
117 { src: 'js/revealmathjax.js', async: true},
118 132 { src: 'js/mathjax-onload.js', async: true}
119 133 ]
120 134 });
@@ -4986,6 +4986,7 b' X07vG9Z4QUTEBQ4dOkRpaSklJSVnnQPx/xV9BfkfDyZLAAAAAElFTkSuQmCC'
4986 4986 <!-- MathJax configuration -->
4987 4987 <script type="text/x-mathjax-config">
4988 4988 MathJax.Hub.Config({
4989 <<<<<<< HEAD
4989 4990 tex2jax: {
4990 4991 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
4991 4992 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
@@ -4994,6 +4995,16 b" displayAlign: 'left', // Change this to 'center' to center equations."
4994 4995 "HTML-CSS": {
4995 4996 styles: {'.MathJax_Display': {"margin": 0}}
4996 4997 }
4998 =======
4999 tex2jax: {
5000 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
5001 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
5002 },
5003 displayAlign: 'center', // Change this to 'center' to center equations.
5004 "HTML-CSS": {
5005 styles: {'.MathJax_Display': {"margin": 0}}
5006 }
5007 >>>>>>> Fixed mathjax inline and some not implemented notice.
4997 5008 });
4998 5009 </script>
4999 5010 <!-- End of mathjax configuration -->
@@ -5020,7 +5031,6 b' dependencies: ['
5020 5031 { src: 'reveal/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
5021 5032 { src: 'notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
5022 5033 { src: 'http://s7.addthis.com/js/300/addthis_widget.js', async: true},
5023 { src: 'js/revealmathjax.js', async: true},
5024 5034 { src: 'js/mathjax-onload.js', async: true}
5025 5035 ]
5026 5036 });
General Comments 0
You need to be logged in to leave comments. Login now