I installed all the DocBook ebuilds yesterday, but I couldn't get sgmltools to process any .SGML files correctly; it complained with the following: IOError: Couldn't resolve pubid ["-//SGMLtools//DOCUMENT Docbook Style Sheet for Print//EN"] It turns out the reason for this is that the sgmltools catalog, located at /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat, is not correctly being placed into the SGML_CATALOG_FILES env variable. I am not familiar enough with Gentoo's env system to know exactly how to fix it correctly, but after adding this catalog file to the env variable manually, sgmltools can correctly process DocBook files. So there is an easy workaround. The script "gensgmlenv" may be involved.
Ok, see if resetting stuff to defaults, and then doing: # install-catalog --add /etc/sgml/sgml-docbook.cat \ /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat Fixes the problem.
-r5 should fix this problem, in the same manner as all other SGML tools.
-r5 should fix this problem, adding the catalog in the same manner as all other SGML tools.