-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MathJax to 2.7.5; create option to use Linux system version
- Loading branch information
1 parent
0136255
commit 568aba5
Showing
6 changed files
with
69 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/************************************************************* | ||
* | ||
* Modified Version of MathJax/unpacked/config/MML_SVG.js | ||
* Specifically for Sigil-EBook's PreviewWindow | ||
* | ||
* Copyright (c) 2010-2018 The MathJax Consortium | ||
* | ||
* Part of the MathJax library. | ||
* See http://www.mathjax.org for details. | ||
* | ||
* Licensed under the Apache License, Version 2.0; | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
*/ | ||
|
||
MathJax.Hub.Config({ | ||
extensions: ["mml2jax.js","MathML/mml3.js","MathEvents.js","fast-preview.js","AssistiveMML.js"], | ||
jax: ["input/MathML","output/SVG","output/PreviewHTML"], | ||
messageStyle: "none" | ||
}); | ||
|
||
MathJax.Ajax.loadComplete("[MathJax]/config/local/SIGIL_EBOOK_MML_SVG.js"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
568aba5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this! I've successfully tested it on my Arch Linux packages.
568aba5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Thanks for reporting back on it. I was going to give you a heads-up when I finished updating the documentation, but I'm glad it checks out.
568aba5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eli-schwartz/pkgbuilds@dcce1ed is deployed to the AUR as https://aur.archlinux.org/cgit/aur.git/commit/?h=sigil-git&id=68e4d8d358724430e643be1d9b8131e5892298ac
It was pleasantly simple to accomplish. :)