I enabled more dumps from the javascript console by editing plugin.py and now I am seeing the following:
Code:
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:60843: EPUB doc iframe LOAD URI:
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:60844: file:///Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/epub_content/tmp9355e5xb/OEBPS/Text/Section0002.xhtml
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61156: EPUB doc base href:
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61157: file:///Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/epub_content/tmp9355e5xb/OEBPS/Text/Section0002.xhtml
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61014: MathJax VERSION: undefined // undefined // 3.2.2
ERROR: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61019: Uncaught TypeError: Cannot read properties of undefined (reading 'Browser')
So it appears that it is much different from when the first page was loaded as it shows:
the following:
Code:
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61157: file:///Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/epub_content/tmp9355e5xb/OEBPS/Text/Section0001.xhtml
ERROR: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/epub_content/tmp9355e5xb/OEBPS/Misc/mml-svg.js:1: Uncaught TypeError: Cannot read properties of undefined (reading 'loader')
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:61014: MathJax VERSION: 2.7.5 // 2.7.5 // 2.7.5
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:50391: ReflowableView content resized ... 550 1371 Section0001.xhtml
INFO: file:///Users/kbhend/Library/Application%20Support/sigil-ebook/sigil/plugins/ReadiumReader/viewer/cloud-reader-lite/scripts/readium-js-viewer_all_LITE.js:50401: ... ignored (identical dimensions).
So the first page is being loaded and viewed by the internal MathJax 2.75 that the Readium Reader plugin comes with.
But the second page fails becuase the MathJax.Hub has no Browser object created at all.
My guess is the mix of MathJax versions is the culprit here.