Without dev-python/python-markdown-math installed, retext does not display a preview, but instead shows a message saying that the markdown package is not installed. In my case, dev-python/markdown-3.7 was installed, but dev-python/python-markdown-math was not. Installing dev-python/python-markdown-math allows the retext preview to work. I thus think that the ebuild for retext (currently /usr/portage/app-editors/retext/retext-8.0.2.ebuild) needs an RDEPEND for dev-python/python-markdown-math It is possible that dev-python/markdown should be amended instead - but I don't know enough about Gentoo's Python module policy to suggest that.
Same issue, after installing dev-python/python-markdown-math manually, retext preview starts to work again.
I have observed the same behavior.
I can confirm both the default behaviour and the 'fix'.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6c7bf9e229ffde143a2b7acd7c64a4faef1f19 commit 1a6c7bf9e229ffde143a2b7acd7c64a4faef1f19 Author: Philipp Rösner <rndxelement@protonmail.com> AuthorDate: 2025-03-22 15:55:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-25 04:34:45 +0000 app-editors/retext: fix missing runtime dep in 8.0.2 Add dev-python/python-markdown-math as a runtime dep, as it is required for rendering. It does not suffice that the dep dev-python/markups has dev-python/python-markdown-math as a runtime dep because it might get removed during depclean. Reverting change of: https://github.com/gentoo/gentoo/pull/35842 Closes: https://bugs.gentoo.org/947669 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-editors/retext/{retext-8.0.2.ebuild => retext-8.0.2-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)