Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98134 - Sgmltools doesn't convert linuxdoc sgml dtd
Summary: Sgmltools doesn't convert linuxdoc sgml dtd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-06 09:21 UTC by Massimo Gaggero
Modified: 2005-08-23 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A simple file that doesn't compile. (UsingHelpdesk.sgml,497 bytes, text/plain)
2005-07-08 00:25 UTC, Massimo Gaggero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Gaggero 2005-07-06 09:21:58 UTC
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.
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-06 11:27:46 UTC
Please attach the subject file you're using (linuxdoc_document.sgml) so we can
study the problem.
Comment 2 Massimo Gaggero 2005-07-08 00:25:16 UTC
Created attachment 62884 [details]
A simple file that doesn't compile.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-11 21:08:21 UTC
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.
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-23 22:54:28 UTC
This should be resolved by using linuxdoc-tools.