PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
266 stars 208 forks source link

disable mathjax scrolling #555

Closed davidfarmer closed 7 years ago

davidfarmer commented 7 years ago

The MathJax feature for scrolling to a hash should be disabled in the configuration, not in the Mathbook.js javascript. (DF removed the explicit MathJax dependence from that script on 4/12/17. That long script maybe should be broken into separate pieces?)

rbeezer commented 7 years ago

Answering my own question:

positionToHash: true

should become "false" in the configuration written into each page?

http://docs.mathjax.org/en/latest/options/hub.html

Do I understand right? I can roll that into other changes upcoming (today, hopefully).

Rob

On 04/12/2017 04:38 AM, davidfarmer wrote:

The MathJax feature for scrolling to a hash should be disabled in the configuration, not in the Mathbook.js javascript. (DF removed the explicit MathJax dependence from that script on 4/12/17. That long script maybe should be broken into separate pieces?)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/555, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cvZnTS7CM1_9rkJQC4bxO1SWCeOzks5rvLfRgaJpZM4M7Tkp.

davidfarmer commented 7 years ago

Yes, positionToHash: false in MathJax.Hub.Config

The code in Mathbook.js does not make sense to me, so I am not planning to delete it until I can sit with someone who knows javascript and they can explain it to me.

On Wed, 12 Apr 2017, Rob Beezer wrote:

Answering my own question:

positionToHash: true

should become "false" in the configuration written into each page?

http://docs.mathjax.org/en/latest/options/hub.html

Do I understand right? I can roll that into other changes upcoming (today, hopefully).

Rob

On 04/12/2017 04:38 AM, davidfarmer wrote:

The MathJax feature for scrolling to a hash should be disabled in the configuration, not in the Mathbook.js javascript. (DF removed the explicit MathJax dependence from that script on 4/12/17. That long script maybe should be broken into separate pieces?)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/555, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cvZnTS7CM1_9rkJQC4bx O1SWCeOzks5rvLfRgaJpZM4M7Tkp.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LHAd_uz2eaFZgMBZ5MpaF_Tbtn5sks5rvQNdgaJpZM4M7Tkp.gif]

rbeezer commented 7 years ago

Changed at bb1cba11.