Hello Yokota, Thank you for taking the time to work on this bug. Reply follows in-line:
yokota <yokota.h...@gmail.com> writes: > 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. Are you sure that the use of symlinks is the only possible solution? > 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. It is a nice balance between effort and effect. > 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. :) No one remembers such things, because Debian has so much software! If you wanted to investigate, here are two tools to check for packages that would benefit: 1. apt-file search PATTERN # This searches files that are installed # from .deb packages 2. https://codesearch.debian.net/ # This searches all source code > 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. I will do better than that. Here you go: https://manual.calibre-ebook.com/typesetting_math.html If you don't have time to read/translate, look for the sample file, open the sample file in Calibre, and check to see that it rendered correctly. There is a PNG at this page that can be used to check for correct equation rendering. Regards, Nicholas
signature.asc
Description: PGP signature