I am trying to convert a linuxdoc document in other format such as pdf, ps, html with sgmtools but if it create an empty output file saying something like /usr/bin/openjade:<OSFD>0:1:25:W: cannot generate system identifier for document type "LINUXDOC" /usr/bin/openjade:<OSFD>0:1:25:E: reference to entity "LINUXDOC" for which no system identifier could be generated Reproducible: Always Steps to Reproduce: 1. sgmltools -b pdf linuxdoc_document.sgml Actual Results: /usr/bin/openjade:<OSFD>0:1:25:W: cannot generate system identifier for document type "LINUXDOC" /usr/bin/openjade:<OSFD>0:1:25:E: reference to entity "LINUXDOC" for which no system identifier could be generated /usr/bin/openjade:<OSFD>0:1:0: entity was defined here /usr/bin/openjade:<OSFD>0:1:25:E: DTD did not contain element declaration for document type name /usr/bin/openjade:<OSFD>0:3:8:E: element "ARTICLE" undefined /usr/bin/openjade:<OSFD>0:5:6:E: element "TITLE" undefined /usr/bin/openjade:<OSFD>0:6:7:E: element "AUTHOR" undefined /usr/bin/openjade:<OSFD>0:6:28:E: element "TT" undefined /usr/bin/openjade:<OSFD>0:7:5:E: element "DATE" undefined /usr/bin/openjade:<OSFD>0:9:9:E: element "ABSTRACT" undefined /usr/bin/openjade:<OSFD>0:17:4:E: element "TOC" undefined /usr/bin/openjade:<OSFD>0:19:5:E: element "SECT" undefined /usr/bin/openjade:<OSFD>0:20:2:E: element "P" undefined /usr/bin/openjade:<OSFD>0:25:8:E: element "ITEMIZE" undefined /usr/bin/openjade:<OSFD>0:26:5:E: element "ITEM" undefined /usr/bin/openjade:<OSFD>0:26:42:E: element "BF" undefined /usr/bin/openjade:<OSFD>0:28:5:E: element "ITEM" undefined /usr/bin/openjade:<OSFD>0:31:5:E: element "ITEM" undefined /usr/bin/openjade:<OSFD>0:31:40:E: element "BF" undefined /usr/bin/openjade:<OSFD>0:32:74:E: element "BF" undefined [... snip ...] Expected Results: Creation of a normal, redeable pdf.
Please attach the subject file you're using (linuxdoc_document.sgml) so we can study the problem.
Created attachment 62884 [details] A simple file that doesn't compile.
Thank you for your feedback. While I was looking into this, I ended up discovering other bugs in other packages that were causing problems when creating PDF files with sgmltools. As far as sgmltools-lite goes, our ebuild didn't install the linuxdoc catalog, only the catalog for its dsssl stylesheets. That should be fixed for sgmltools-lite-3.0.3-r9, please emerge that version and try again. Also, in case you have one or more versions of docbook-sgml-dtd installed, please upgrade them so their SGML catalogs don't break the processing of your linuxdoc files. Finally, to create PDF files, make sure you emerge sgmltools-lite with the 'tetex' USE flag enabled, and that you have the latest version of jadetex (jadetex-3.13-r1). Try with those and please let us know how it goes.
This should be resolved by using linuxdoc-tools.