Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 30, 2021
0 parents commit b1ef205
Show file tree
Hide file tree
Showing 100 changed files with 62,203 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html text eol=native
1 change: 1 addition & 0 deletions jenkins/A2.html
1 change: 1 addition & 0 deletions jenkins/A3.html
1 change: 1 addition & 0 deletions jenkins/A4.html
1 change: 1 addition & 0 deletions jenkins/A5.html
1 change: 1 addition & 0 deletions jenkins/A6.html
1 change: 1 addition & 0 deletions jenkins/Ch10.html
1 change: 1 addition & 0 deletions jenkins/Ch11.html
1 change: 1 addition & 0 deletions jenkins/Ch12.html
1 change: 1 addition & 0 deletions jenkins/Ch13.html
1 change: 1 addition & 0 deletions jenkins/Ch14.html
1 change: 1 addition & 0 deletions jenkins/Ch15.html
1 change: 1 addition & 0 deletions jenkins/Ch16.html
1 change: 1 addition & 0 deletions jenkins/Ch17.html
1 change: 1 addition & 0 deletions jenkins/Ch18.html
1 change: 1 addition & 0 deletions jenkins/Ch19.html
1 change: 1 addition & 0 deletions jenkins/Ch2.html
1 change: 1 addition & 0 deletions jenkins/Ch20.html
1 change: 1 addition & 0 deletions jenkins/Ch3.html
1 change: 1 addition & 0 deletions jenkins/Ch4.html
1 change: 1 addition & 0 deletions jenkins/Ch5.html
1 change: 1 addition & 0 deletions jenkins/Ch6.html
1 change: 1 addition & 0 deletions jenkins/Ch7.html
1 change: 1 addition & 0 deletions jenkins/Ch8.html
1 change: 1 addition & 0 deletions jenkins/Ch9.html
1 change: 1 addition & 0 deletions jenkins/Chx1.html
34 changes: 34 additions & 0 deletions jenkins/LaTeXML-maybeMathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//======================================================================
// Load MathJax, IFF the current browser can't handle MathML natively.

(function() {
var mathjax_url =
"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js?config=MML_HTMLorMML";

function refreshMath() {
// Maybe unnecessary, or overkill, but...
if (typeof MathJax != "undefined") {
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}

// Add script element loading MathJax unless we can handle MathML
var agent = navigator.userAgent;
var is_gecko = (agent.indexOf("Gecko") > -1 &&
agent.indexOf("KHTML") === -1 &&
agent.indexOf("Trident") === -1);
// Check for MathPlayer, but only IE's before IE 10 when it was disabled.
var has_mathplayer = (agent.indexOf("MathPlayer") > -1 &&
agent.indexOf("rv:1") === -1); /* till ie 20! */
if (!is_gecko && !has_mathplayer) {
var head = document.getElementsByTagName("head")[0];
if (head != null) {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = mathjax_url;
script.onreadystatechange = refreshMath;
script.onload = refreshMath;
head.appendChild(script);
}
}
}());
Loading

0 comments on commit b1ef205

Please sign in to comment.