discuss: Access-HOWTO.sgml 2 html
Subject:
Access-HOWTO.sgml 2 html
From:
####@####.#### (Lars =?iso-8859-1?q?Bj=F8rndal?=)
Date:
5 Feb 2002 09:58:22 -0000
Message-Id: <m3it9ccl45.fsf@fox.broadpark.no>
I'm trying to learn my self DocBook. Using Redhat 7.2 with
docbook-*.rpm installed. (It's docbook-utils v.0.6.9.) A way is to
learn by compiling others files:
/usr/share/doc/HOWTO/other-formats/docbook/Access-HOWTO.sgml (or
whatever file.
The command "db2html -u Access-HOWTO.sgml" gives a lot of error
messages:
----------------------------------------
]$ db2html -u Access-HOWTO.sgml
output is Access-HOWTO
Using catalogs: /etc/sgml/sgml-docbook-3.0.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html
Working on: /home/lrs/tmp/Access-HOWTO.sgml
jade:/home/lrs/tmp/Access-HOWTO.sgml:850:14:E: end tag for "LISTITEM" omitted, but OMITTAG NO was specified
jade:/home/lrs/tmp/Access-HOWTO.sgml:843:0: start tag was here
...
jade:/home/lrs/tmp/Access-HOWTO.sgml:1219:3:E: "65533" is not a character number in the document character set
----------------------------------------
1: Where should I place "omittag" if I want it, and what is the
syntax? Should I place it in the file Access-HOWTO.sgml?
2: What does the message ""65533" is not a character number in the
document character set" means? The line
number 1219 (and two lines before) says:
----
<ULink
URL="http://sunsite.unc.edu/mdw/HOWTO/INFO-SHEET.html"
>�</ULink
----
I don't understand this.
OK! I've also tried to compile Access-HOWTO with the ldp.dsl:
$ db2html -u -d /usr/share/sgml/docbook/utils-0.6.9/ldp.dsl
Access-HOWTO.sgml
Some of the output is:
----------------------------------------
output is Access-HOWTO
Using catalogs: /etc/sgml/sgml-docbook-3.0.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/ldp.dsl
Working on: /home/lrs/tmp/Access-HOWTO.sgml
jade:/home/lrs/tmp/Access-HOWTO.sgml:850:14:E: end tag for "LISTITEM" omitted, but OMITTAG NO was specified
jade:/home/lrs/tmp/Access-HOWTO.sgml:843:0: start tag was here
...
jade:/home/lrs/tmp/Access-HOWTO.sgml:1219:3:E: "65533" is not a character number in the document character set
jade:/home/lrs/tmp/Access-HOWTO.sgml:1234:3:E: "65533" is not a character number in the document character set
...
jade:E: cannot find "docbook.dsl"; tried "/usr/share/sgml/docbook/utils-0.6.9/docbook.dsl", "/usr/share/sgml/docbook.dsl"
jade:E: specification document does not have the DSSSL architecture as a base architecture
----
I think it's an error in my ldp.dsl. I don't know where
below to put /usr/shar...docbook.dsl:
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl SYSTEM "docbook.dsl" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl SYSTEM "docbook.dsl" CDATA dsssl>
]]>
]>
<style-sheet>
...
Is it before or after or both, before and after SYSTEM on this lines I
shold put /usr/shar/sgml....docbook.dsl?
Hope some could help me.
Lars
--
Lars Bjørndal ####@####.####
Storetveitåsen 15, 5067 Bergen.
Tlf.: 55 28 87 55 Mobil: 958 37 537 Telefaks: 55 28 40 67