[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Assistance needed with build of gnumeric's documentation



I'm trying to build a new gnumeric package so that it will work with the
latest libgal. Gnumeric's documentation is in DocBook format and is
formatted as HTML for use with the GNOME help system.

Unfortunately, I got stuck at a difference between the way our SGML packages
worked in the past and the way they do now. Here is the relevant part of the
diff between the build log of the previous gnumeric upload (as built on a
system that was up to date on Sat Sep 15) and the build log produced with an
up to date unstable system:

 make[4]: Entering directory `/extra/ray/gnumeric/gnumeric-0.70/doc/C'
 cd . && db2html gnumeric.sgml
-TMPDIR is DBTOHTML_OUTPUT_DIR23730
-Using stylesheet: "/usr/lib/sgml/stylesheet/dsssl/docbook/cygnus/cygnus-both.dsl"
-
-input file was called gnumeric.sgml -- output will be in gnumeric
-
-working on ../gnumeric.sgml
-jade:../functions.sgml:133:31:E: character "_" is not allowed in the value of attribute "LINKEND"
-jade:../functions.sgml:135:31:E: character "_" is not allowed in the value of attribute "LINKEND"
-jade:../functions.sgml:1045:23:E: character "_" is not allowed in the value of attribute "LINKEND"
-jade:../functions.sgml:3902:33:E: character "_" is not allowed in the value of attribute "ID"
-jade:../functions.sgml:7843:33:E: character "_" is not allowed in the value of attribute "ID"
-jade:../functions.sgml:8778:27:E: general entity "char" not defined and no default entity
-about to copy cascading stylesheet and admon graphics to temp dir
-about to rename temporary directory to gnumeric
+output is gnumeric
+Using catalogs: /usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog, /usr/share/sgml/entities/xml-iso-entities-8879.1986/catalog, /usr/share/sgml/entities/catalog, /usr/share/sgml/dtd/catalog, /usr/share/sgml/html/entities/catalog, /usr/share/sgml/html/dtd/4.01/catalog, /usr/share/sgml/html/dtd/4.0/catalog, /usr/share/sgml/html/dtd/iso-15445/catalog, /usr/share/sgml/html/dtd/catalog, /usr/share/sgml/docbook/custom/jrefentry/catalog, /usr/share/sgml/docbook/custom/simple/catalog, /usr/share/sgml/docbook/custom/website/1.10/catalog, /usr/share/sgml/docbook/custom/html-forms/catalog, /usr/share/sgml/docbook/custom/slides/catalog, /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog, /usr/share/sgml/debiandoc/entities/catalog, /usr/share/sgml/debiandoc/dtd/sgml/1.0/catalog, /etc/sgml/catalog
+Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html
+Working on: /extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml
+jade:/extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml:20:0:E: cannot find "dtd/png-support-3.0.dtd"; tried "/usr/lib/sgml/dtd/png-support-3.0.dtd", "/usr/local/share/sgml/dtd/png-support-3.0.dtd", "/usr/local/lib/sgml/dtd/png-support-3.0.dtd", "/usr/lib/sgml/dtd/png-support-3.0.dtd"
+jade:/extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml:20:0:E: DTD did not contain element declaration for document type name
+jade:/extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml:22:9:E: there is no attribute "ID"
+jade:/extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml:22:16:E: element "BOOK" undefined
+jade:/extra/ray/gnumeric/gnumeric-0.70/doc/C/gnumeric.sgml:23:7:E: element "TITLE" undefined
(and so on for numerous other elements)

The resulting HTML files are not usable with the GNOME help system. There is
no mention of "png-support" in unstable's Contents-i386, and the only
references I've found on the web, like http://www.labs.redhat.com/png/,
suggest that current releases of DocBook should have no problems with PNG
support.

I'm at a loss as to how to fix this, so I'd strongly appreciate suggestions
on how to get gnumeric's documentation to build properly again.

Ray
-- 
Obsig: developing a new sig



Reply to: