For now there is a lack in gentoo on how to process docbook containing mathml parts. Only solution is right now to install the files manually, but it's not generally a good idea if you want to have a system supervised by portage Reproducible: Always Steps to Reproduce: 1. Get or create a docbook document including mathml parts 2. Process the document with xsltproc or saxon Actual Results: The generation doesn't fail but the mathml text is missing from the output. The xsltproc processor insults you a lot saying that mml is not a known namespace I tried to compile the man page from https://cvs.khronos.org/ when I seen it can't be done in a basic gentoo installation. As I reported in http://bugs.gentoo.org/show_bug.cgi?id=120375#c23 maybe this ebuild can help to achieve docbook-mathml. Also take a look to debian docbook-mathml package could help
Created attachment 257560 [details] Skeleton ebuild to process mathml within docbook You'll also need to install: http://bugs.gentoo.org/show_bug.cgi?id=194501
Created attachment 271485 [details] Ebuild reviewed on sunrise irc by mgorny; pending for sgml herd acknowledgement
Created attachment 285013 [details] docbook-mathml-dtd-1.1_beta1.ebuild Attached ebuild is a minor improvement of the ebuilds attached previously. * fixes dependencies (the dtd mentions docbook-xml-dtd version 4.3) * adds sgml catalogs (which was apparently not enough to actually generate the manpages, hence the calls to xmlcatalog still appear) * tries to be more similar to other packages like docbook-xml-{simple-,}dtd * uses eapi 4 I was able to build opengl-manpages-4.9999 (bug #350052) using this. Comments and improvements welcome.
Created attachment 314747 [details] docbook-mathml-dtd-1.1_rc1.ebuild Changed version to _rc1, since 1.1CR1 is newer than 1.1b1, despite appearing earlier in the directory listing on [1]. Only changed line is MY_PV which replaces _rc with CR now. [1] http://www.docbook.org/xml/mathml/
Created attachment 314749 [details] docbook-mathml-dtd-1.1_rc1.ebuild (fixed docbook.cat) The command to create the docbook.cat was actually quite broken - it used a quoted here document which prevented ${MY_PV} expansion.
I've submitted a slightly updated ebuild to sunrise, but the github mirror appears to be dead and no longer responding to pull requests. Link to the pull request: https://github.com/gentoo-sunrise/sunrise/pull/12 What needs to be done to proceed with this ebuild inclusion request?
(In reply to klemensbaum from comment #6) > I've submitted a slightly updated ebuild to sunrise, but the github mirror > appears to be dead and no longer responding to pull requests. > > Link to the pull request: https://github.com/gentoo-sunrise/sunrise/pull/12 > > What needs to be done to proceed with this ebuild inclusion request? See here: http://wiki.gentoo.org/wiki/Project:Sunrise/How_to_commit Github mirror seems to be quite dead, so follow instructions from our wiki.