Open AtomicFS opened 8 months ago
Hi @AtomicFS,
There's an AUR package for mdBook-KaTeX? 😳
Anyway, some comments:
quick-js
. I think they bundle the libraries though.Hope this helps!
Steven Hé (Sīchàng)
Thank you for so fast response :) Yeah, there is AUR package I made because I prefer to use pacman over language-specific packages managers (cargo, pip, ...).
To the topis:
quick-js
. Rust pulls in quick-js v0.4.1, and while there is not much going on there, there have been 2 updates relatively recently on 2023-12-09 and 2024-01-13.
If it helps, here is the log of failed build attempt.
But it seems that downgrade of quick-js to 0.4.0 fixes the problem.
cargo update quick-js --precise 0.4.0
cargo build --release
quickjs-rs' last commit was about 3 years ago. But, it seems that QuickJS' development resumed about 3 months ago despite the comments in https://github.com/theduke/quickjs-rs/issues/125. Maybe that's what broke your build.
Unfortunately, I reran some of the tests of katex-rs and mdbook-katex on Ubuntu latest and they both passed: https://github.com/SichangHe/xu-cheng--katex-rs/actions/runs/7967406488/job/21750099066 https://github.com/SichangHe/mdbook-katex/actions/runs/7968221842/job/21752137560
Could you please open an issue on quickjs-rs? I am afraid I don't have a further direction in finding the solution.
I just tried to update AUR package that I am maintaining and I I got into problem building the newest release.
I am getting a lot of undefined references to some JavaScript things.
I just try to build it with
cargo build --release
.Am I missing some dependency?