Open phibr0 opened 2 years ago
As a workaround I reverted the commit where node-kpathsea gets implemented. That allows the build to proceed, but then I get stuck with: ! Package pgf Error: Driver file pgfsys-ximera.def not found..
... Anyone any ideas?
https://github.com/XimeraProject/ximeraLatex/blob/development/src/pgfsys.dtx is a source for that file. Maybe it should be in this repo.
The node-kpathsea dependency is a different issue: I have https://github.com/kisonecat/node-kpathsea which has the newer version, which is compatible with more recent nodejs (e.g., v14.17.5 on my machine).
I really need to package this all better (hopefully once the semester ends!). I see a fair number of people are using TikZJax so there's really a need to make this go.
Thanks Jim, that's great :-) Great work on this, it's really awesome and useful for my website...
Ok so I've updated all the libraries and now I can build the core.dump
and tex.wasm
. Which is great news for me as the encoding problems and missing symbols are now fixed. I actually want to use them with TikZJax (which I've also updated) but when I build with the ximera.cls
doc class it works but the diagram has paper size that is not appropriate, and when I try building with the standalone.cls
document class it complains about a missing \begin{document}
. It does continue and kind of works but it sets the papersize to zero. Can I ask did you modify the original standalone.cls
, any ideas how I might fix it?! Thanks again.
Another thing, is there anything (legal or something?) stopping you from distributing the core.dump files etc.? If not, why not create Releases here on GitHub with the Files attached. This would really help others use your Project!
Anything about that, @kisonecat? It is really impressive what this can do, and I would like to use it, unfortunately I cannot get it to compile on my machine..
Hi @phibr0, I've made my repos public, my code needs tidying up and I prob should have forked the repos but nvmd.. hope this compiles for you. If it doesn't work, you could pull the binaries from my work in progress site here (it takes a little while for the pic to render, but I think it's ok...) https://edushare.io/student/courses/a-level-maths-guide/ Repos are here: https://github.com/3ur3ka/web2js https://github.com/3ur3ka/tikzjax
My tikzjax code to get the bounding box for the svg is hard coded and horrible, but seems to do the job for what I want.
The memory footprint for the decompressed binaries is quite large (163mb), it works on the iPhone 13 but not on my poor phone. We might be able to reduce the size of the core.dump
by using an optimum number of pages?
Anyways desktop seems ok on safari and chrome.
To solve node-kpathsea
, You have to change package.json
to get from github.
- "node-kpathsea": "^1.1.0"
+ "node-kpathsea": "kisonecat/node-kpathsea"
node-kpathsea
Version 1.1.0 doesn't exist on NPM, and even if I downgrade it (to the one available version 1.0.0), I cannot get it to properly install:Console output
Complete Log
Another thing, is there anything (legal or something?) stopping you from distributing the
core.dump
files etc.? If not, why not create Releases here on GitHub with the Files attached. This would really help others use your Project!