I'm checking the links... I really liked the interactivity that the
plugin allows us to do. I've tried making a fast adaption here using a tiddler of type html but it doesn't work. I don't know why, if I save a file with the following content on my computer as html and open it with a browser it works:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=5.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>LaTeX2JS Examples</title>
<meta property="og:title" content="LaTeX2JS Examples">
<meta name="title" content="LaTeX2JS Examples">
<meta name="keywords" content="Interactive Mathematics Diagrams and Equations, Dan Lynch, UC Berkeley, LaTeX, PSTricks, JavaScript">
<meta name="description" http-equiv="description" content="Build interactive math equations and diagrams online using LaTeX and PSTricks">
<meta property="og:description" content="Build interactive math equations and diagrams online using LaTeX and PSTricks">
<meta property="og:type" content="article">
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="1024" />
<meta property="og:image:height" content="768" />
<meta property="og:site_name" content="LaTeX2JS">
</head>
<body>
<div class="centered">
<h1>LaTeX2JS Examples</h1>
</div>
<script type="text/latex">
<br>
<br>
\begin{pspicture}(0,-3)(8,3)
\rput(0,0){$x(t)$}
\rput(4,1.5){$f(t)$}
\rput(4,-1.5){$g(t)$}
\rput(8.2,0){$y(t)$}
\rput(1.5,-2){$h(t)$}
\psframe(1,-2.5)(7,2.5)
\psframe(3,1)(5,2)
\psframe(3,-1)(5,-2)
\rput(4,0){$X_k = \frac{1}{p} \sum \limits_{n=\langle p\rangle}x(n)e^{-ik\omega_0n}$}
\psline{->}(0.5,0)(1.5,0)
\psline{->}(1.5,1.5)(3,1.5)
\psline{->}(1.5,-1.5)(3,-1.5)
\psline{->}(6.5,1.5)(6.5,0.25)
\psline{->}(6.5,-1.5)(6.5,-0.25)
\psline{->}(6.75,0)(7.75,0)
\psline(1.5,-1.5)(1.5,1.5)
\psline(5,1.5)(6.5,1.5)
\psline(5,-1.5)(6.5,-1.5)
\psline(6,-1.5)(6.5,-1.5)
\pscircle(6.5,0){0.25}
\psline(6.25,0)(6.75,0)
\psline(6.5,0.5)(6.5,-0.5)
\end{pspicture}
<br>
<hr>
<br>
<br>
\begin{pspicture}(-2,-2)(2,2)
\psframe(-2,-2)(2,2)
\userline[linewidth=1.5 pt]{->}(0,0)(2,2)
\end{pspicture}
<hr>
</script>
<script>
LaTeX2HTML5.init();
</script>
</body>
</html>
I got it from the page
https://latex2js.com/examples/index.html and just changed the relative paths to absolute paths... But well, inside TiddlyWiki it doesn't work as a type HTML, does anyone know why? Does the HTML type of tiddlers work exactly as an HTML file?