File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -610,20 +610,15 @@ the following:
610
610
//
611
611
Enrich (Register (browser ()), new MathML ());
612
612
613
- //
614
- // Create the TeX input jax
615
- //
616
- const inputJax = new TeX ({
617
- packages: AllPackages,
618
- macros: {require: [' ' , 1 ]} // Make \require a no-op since all packages are loaded
619
- });
620
-
621
613
//
622
614
// Initialize mathjax with a blank DOM.
623
615
//
624
616
const html = MathJax .document (' ' , {
625
617
enrichSpeech: ' shallow' , // add speech to the enriched MathML
626
- InputJax: tex
618
+ InputJax: new TeX ({
619
+ packages: AllPackages .filter ((name ) => name !== ' bussproofs' ), // Bussproofs needs an output jax
620
+ macros: {require: [' ' , 1 ]} // Make \require a no-op since all packages are loaded
621
+ })
627
622
});
628
623
629
624
//
@@ -637,7 +632,6 @@ the following:
637
632
window .MathJax = {
638
633
version: mathjax .version ,
639
634
html: html,
640
- tex: inputJax,
641
635
sreReady: sreReady,
642
636
643
637
tex2speech (tex , display = true ) {
You can’t perform that action at this time.
0 commit comments