Hello All,
I am looking to create a resource for students for Thermodynamics.
The story so far.....Upon discovering tiddly wiki I found the katex plugin. Horay!
Next, dropbox, or other free hosting. (The public folder route no longer seems to be an option for non dropbox pro users.)
This search had mixed results.
Pancake.io says the file is too large.
droppage.com displays a 'Can not display in quirk mode' error over any and all equations using the katex plugin.
duet.to and a plugin i found for google drive displays the pages but shows the maths incorrectly.
![]()
(you can see the seperater line between the half (1/2) is on the top of the 1)
Not filling me with confidence that more complex equations will be correctly displayed.
![]()
correctly displayed.
Cloud Cannon however does the job, but it isn't ideal on the package it offers.
So I thought to myself, maybe it's the katex plugin thats causing
duet.to and the google drive thing to render incorrectly. I wondered if there was another MathJax/ Tex plugin and so I found
this but upon dragging the plugin to my own wiki i get
TypeError: Argument 1 of MutationObserver.observe is not an object
so i can't see if it renders correctly in drive or
duet.to to find out if it's katex or duet....
All I really want is to translate this header which sets up mathjax and also allows interactive diagrams from the .js script from
html2latex5.com into tiddlywikki:
<head>
<title>MathJax TeX Test Page</title>
<script type="text/x-mathjax-config"> //<![CDATA[
MathJax.Hub.Config({
TeX: {extensions: ["AMSmath.js", "AMSsymbols.js"]},
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
showProcessingMessages : false,
messageStyle : "none" ,
showMathMenu: false ,
tex2jax: { processEnvironments: true,
inlineMath: [ ['$','$'], ["\(","\)"] ],
displayMath: [ ['$$','$$'], ["\[","\]"] ],
preview : "none",
processEscapes: true
},
"HTML-CSS": { linebreaks: { automatic:true, width: "latex-container"} }
});
// ]]>
</script> <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js? config=TeX-AMS-MML_HTMLorMML">
</script>
<link rel="stylesheet" href="http://stephenteacher.pancakeapps.com/Tex/latex2html5.min.css">
<script type="text/javascript" src="http://stephenteacher.pancakeapps.com/Tex/latex2html5.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Arbutus+Slab" type="text/css">
</head> (js files from
from latex2html5.com and
mathjax.org)
But have bounced off the advive/ steps for making my own plugin/ trying to work out how other plugins did it.
So after all that preamble...
1. I want to ba able to host from drop box or other online storage for free, at least iniatally while working out if redoing all the notes is worth it. Any suggestions?
2. I would like the maths to display correctly.
3. I would like to be able to use the interactive diagrams as found on
latex2html.com within the notes I am creating on tiddlywiki
At the moment i would just settle for 1 and 2 and javascript scares me.
Any help, insight or REALLY REALLY easy tutorials appreciated.
Thank you for your time.
Stephen