Ego Eram Reputo Posted April 1, 2017 Author Share Posted April 1, 2017 Known MathJax rendering bug: Since the release of MathJax version 2.7.0 the browser presents a Script Error dialog (as reported above by Phota) when attempting to render MathJax equations. Solution #1 (quick and dirty): click either Yes or No in the script error dialog and wait for up to 20 seconds. Your equation will be rendered just fine after the browser abandons its attempt to load a problematic JavaScript file. Solution #2 (as suggested by one of the MathJax developers): downgrade to an earlier version of MathJax. The generic code I bundled with the plugin always accesses the latest version of MathJax. To instead load an earlier version add "2.6-" to the this line in your HTML code: <script type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> It goes in after the slash and before the word "latest"..... <script type='text/javascript' src='http://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Drydareelin Posted November 4, 2017 Share Posted November 4, 2017 Solution #1 has completely stopped working for me unfortunately. The only way I get can equations to render if to use Solution #2. Quote Gallery DeviantArt Planet Tutorial | Sun Tutorial Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 5, 2017 Author Share Posted November 5, 2017 Thanks for the heads-up @Drydareelin. I've not been back to check for an update. I'll leave myself a note. 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 5, 2017 Author Share Posted November 5, 2017 Did some digging. The CDN has shut down (https://www.mathjax.org/cdn-shutting-down/) This means soon(ish) the Mathjax part of the Markup Renderer will stop working. Dang. I've tried changing the scripts to the recommended alternative, but they don't render at all I may have to provide a local copy of Mathjax with the plugin. Argh! 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 22, 2017 Author Share Posted December 22, 2017 Update time! I have good news on the Mathjax front For all of the examples in the MathML menu, replace the existing script line with this new one <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> If the example has two lines, replace them both with the single line above. I'm rolling out a new version of the Markup Renderer with these fixes soon. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
AndrewDavid Posted October 8, 2023 Share Posted October 8, 2023 Hi @Ego Eram Reputo I just played with your plugin to learn how it works. It was working and allowed me to make about 4 images. Then it stopped rendering the text (TimeNewRoman) Looks like 7 years have gone by without any comments. Does anyone use it? I have a tiny need to see this plugin working again, however, with all the changes made with Paint.Net, Windows, Markup language, I would not be surprised to see the source code generate many errors in Visual Studio or Codelab. Form based plugins I have learned doesn't work well for a novice like me. But I did get a few to work. Your thoughts? Comment2 - After using it for these 40 minutes, it works fine. All I did was restart paint again. I already tried that but 2 worked. Imagine a PDN 810X2632X3 layers so far. That's about 200 lines of a total 1140. A one time tiny task. The font - times new roman I bet was the culprit. I never changed it from the default. Here's that font issue again. 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 9, 2023 Author Share Posted October 9, 2023 Glad you sorted it @AndrewDavid. I bet I'm the biggest this particular plugin The whole concept is pretty flaky. Sometimes it works, and sometimes it doesn't. For that reason I highly recommend copying the HTML code into another document for safekeeping. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.