EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08813


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Problem upgrading to MathJaxV3.2, conflicts with auto-3.3.16.js


CAUTION: This e-mail originated outside the University of Southampton.

Hi List

 

Is there anyone out there, using EP3.3.x, MathJax3.2 (upgraded from V2 or directly started with V3.x)?

 

After converting the config and using https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js it does not show math content anymore. Step by step i inspected the code of our template and – finally - after deleting the include of auto-3.3.16.js it worked ! But i can not identify the conflicts and god knows, there are too many lines of code to compare from auto.js.

 

Any idea? FF-Inspector see below.

 

Kind regards
Jens

 

 

FF Inspector says:

Uncaught (in promise) TypeError: t.attributes is null

    getDataAttributes https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    getAttributes https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    getAttributes https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    childNodeMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    childNodeMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    childNodeMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    childNodeMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    childNodeMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitDefault https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitNode https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    visitTree https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    toMML https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    assistiveMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    assistiveMml https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    y https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    renderDoc https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    render https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    typesetPromise https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    e https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    handleRetriesFor https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    typesetPromise https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    defaultPageReady https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    defaultReady https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    promise callback*2388/t.defaultReady https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    defaultReady https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    <anonymous> https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    promise callback* https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    <anonymous> https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

    <anonymous> https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1

[…]

Uncaught TypeError: xml_optimize is null

    loadData https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js line 16318 > Function:3072

    setup https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js line 16318 > Function:1972

    rd https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16723

    rd https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16723

    setTimeout handler*rd https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16723

    Processing https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16724

    k https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16321

    onreadystatechange https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16320

    b https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16319

    p https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16321

    loadSketchFromSources https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16321

    q https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16322

    exports https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16323

    exports https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16729

    [1]< https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16299

    g https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16298

    e$$0 https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16298

    <anonymous> https://www.zoratest.uzh.ch/_javascript_/auto-3.3.16.js:16298

--
Jens Witzel
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.witzel@uzh.ch
phone: +41 44 63 56777
http://www.zi.uzh.ch