Hello Nicholas, I was checked your suggestion.
Option 1: Calibre uses symlinks to link to system installed MathJax. This means it provides some dangling symlinks when not installs node-mathjax-full package. So this option is not so good one. Option 2: This option requires to rebuild Calibre when Debian MathJax was updated. But this option is easy to implement, and breakage is minimal. I think it's the best one. Option 3: Calibre just requires small subset of MathJax. If other packages also wants these subsets, this option is the best. But I don't know such packages other than Calibre. I was rebuild Calibre with option 2 and push to salsa/experimental. https://salsa.debian.org/yokota/calibre/-/tree/experimental And upload the experimental package to Debian. https://tracker.debian.org/pkg/calibre Please examine the package. If you seems good, I will upload it Debian unstable. -- YOKOTA Hiroshi

