public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Help wanted ...
  2002-12-20 19:23 Help wanted Raj, Ashok
@ 2002-01-16 16:17 ` Raj, Ashok
  2002-12-20 19:23 ` Éric Bischoff
  2002-12-20 19:23 ` Tim Waugh
  2 siblings, 0 replies; 8+ messages in thread
From: Raj, Ashok @ 2002-01-16 16:17 UTC (permalink / raw)
  To: 'docbook-tools-discuss@sourceware.cygnus.com'

Hello docbook gurus...

Iam using genrd (version of robodoc that can generate sgml docbook style
output) for API documentation.

once the sgml file is produced, iam not able to use any tools sgml2html etc
to convert this to html source files.

To check if there is anything wrong and go from basics, i tried to take an
example in 

http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html

the output from the example is here shown below. The error output is here..
Can someone let me know what environment settings i should use. Iam having
Redhat 7.2 and all sgml related stuff is installed in /usr/share/sgml

Thanks in advance

ashokr
--- ERROR OUTPUT ------------
[root@sakthi test]# sgml2html api.sgml
Processing file api.sgml
/usr/bin/nsgmls:<OSFD>0:1:59:W: cannot generate system identifier for public
text "-//Davenport//DTD DocBook V3.0//EN"
/usr/bin/nsgmls:<OSFD>0:2:0:E: reference to entity "BOOK" for which no
system identifier could be generated
/usr/bin/nsgmls:<OSFD>0:1:0: entity was defined here
/usr/bin/nsgmls:<OSFD>0:2:0:E: DTD did not contain element declaration for
document type name
/usr/bin/nsgmls:<OSFD>0:3:5:E: element "BOOK" undefined
/usr/bin/nsgmls:<OSFD>0:4:11:E: element "BOOKINFO" undefined
/usr/bin/nsgmls:<OSFD>0:5:9:E: element "DATE" undefined
/usr/bin/nsgmls:<OSFD>0:6:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:7:13:E: element "SUBTITLE" undefined
/usr/bin/nsgmls:<OSFD>0:9:6:E: element "TOC" undefined
/usr/bin/nsgmls:<OSFD>0:12:10:E: element "CHAPTER" undefined
/usr/bin/nsgmls:<OSFD>0:13:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:14:9:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:16:10:E: element "SECT1" undefined
/usr/bin/nsgmls:<OSFD>0:17:12:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:18:11:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:22:11:E: element "APPENDIX" undefined
/usr/bin/nsgmls:<OSFD>0:23:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:24:9:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:26:10:E: element "SECT1" undefined
/usr/bin/nsgmls:<OSFD>0:27:12:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:28:11:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:29:17:E: element "EMPHASIS" undefined
/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/book/html/mapping':
No such file or directory

--- SOURCE FILE ------------
[root@sakthi test]# cat api.sgml
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
]>
<book>
  <bookinfo>
    <date>1997-10-11</date>
    <title>My first booklet</title>
    <subtitle>it even has a subtitle</subtitle>
  </bookinfo>
  <toc></toc>
  <!-- We are done with the preliminaries, now we can start with
          the body of the document -->
  <chapter>
    <title>My first chapter</title>
    <para>Here's a paragraph of text because it is stylistically
      poor to start a section right after the chapter title.</para>
    <sect1>
      <title>A section in that first chapter</title>
      <para>All I need is a single paragraph of text to make the
        section valid.</para>
    </sect1>
  </chapter>
  <appendix>
    <title>Remaining details</title>
    <para>Although this booklet is quite complete, here I will
      mention some details I never got to.</para>
    <sect1>
      <title>Use of the word dude</title>
      <para>Here's an example of how to say
        <emphasis>dude</emphasis>: DUDE.</para>
    </sect1>
  </appendix>
</book>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23 ` Éric Bischoff
@ 2002-01-17  1:18   ` Éric Bischoff
  0 siblings, 0 replies; 8+ messages in thread
From: Éric Bischoff @ 2002-01-17  1:18 UTC (permalink / raw)
  To: Raj, Ashok, 'docbook-tools-discuss@sourceware.cygnus.com'

Le Jeudi 17 Janvier 2002 01:17, Raj, Ashok a écrit :
> Hello docbook gurus...
>
> Iam using genrd (version of robodoc that can generate sgml docbook style
> output) for API documentation.
>
> once the sgml file is produced, iam not able to use any tools sgml2html etc
> to convert this to html source files.
>
> To check if there is anything wrong and go from basics, i tried to take an
> example in
>
> http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html
>
> the output from the example is here shown below. The error output is here..
> Can someone let me know what environment settings i should use. Iam having
> Redhat 7.2 and all sgml related stuff is installed in /usr/share/sgml

Please verify your centralized catalogs in /etc/sgml.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23 ` Tim Waugh
@ 2002-01-17  2:00   ` Tim Waugh
  2002-12-20 19:23   ` Éric Bischoff
  1 sibling, 0 replies; 8+ messages in thread
From: Tim Waugh @ 2002-01-17  2:00 UTC (permalink / raw)
  To: Raj, Ashok; +Cc: 'docbook-tools-discuss@sourceware.cygnus.com'

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

On Wed, Jan 16, 2002 at 04:17:39PM -0800, Raj, Ashok wrote:

> once the sgml file is produced, iam not able to use any tools sgml2html etc
> to convert this to html source files.

sgml2html is from sgml-tools, which only knows about LinuxDoc. (Future
versions of this package are called linuxdoc-tools.)

You are probably looking for docbook2html, which is part of
docbook-utils.

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23   ` Éric Bischoff
@ 2002-01-17  2:11     ` Éric Bischoff
  0 siblings, 0 replies; 8+ messages in thread
From: Éric Bischoff @ 2002-01-17  2:11 UTC (permalink / raw)
  To: Tim Waugh, Raj, Ashok
  Cc: 'docbook-tools-discuss@sourceware.cygnus.com'

Le Jeudi 17 Janvier 2002 11:00, Tim Waugh a écrit :
> On Wed, Jan 16, 2002 at 04:17:39PM -0800, Raj, Ashok wrote:
> > once the sgml file is produced, iam not able to use any tools sgml2html
> > etc to convert this to html source files.
>
> sgml2html is from sgml-tools, which only knows about LinuxDoc. (Future
> versions of this package are called linuxdoc-tools.)
>
> You are probably looking for docbook2html, which is part of
> docbook-utils.

Oops, I should have read more carefully the original message. Thanks Tim.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Help wanted ...
@ 2002-12-20 19:23 Raj, Ashok
  2002-01-16 16:17 ` Raj, Ashok
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Raj, Ashok @ 2002-12-20 19:23 UTC (permalink / raw)
  To: 'docbook-tools-discuss@sourceware.cygnus.com'

Hello docbook gurus...

Iam using genrd (version of robodoc that can generate sgml docbook style
output) for API documentation.

once the sgml file is produced, iam not able to use any tools sgml2html etc
to convert this to html source files.

To check if there is anything wrong and go from basics, i tried to take an
example in 

http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html

the output from the example is here shown below. The error output is here..
Can someone let me know what environment settings i should use. Iam having
Redhat 7.2 and all sgml related stuff is installed in /usr/share/sgml

Thanks in advance

ashokr
--- ERROR OUTPUT ------------
[root@sakthi test]# sgml2html api.sgml
Processing file api.sgml
/usr/bin/nsgmls:<OSFD>0:1:59:W: cannot generate system identifier for public
text "-//Davenport//DTD DocBook V3.0//EN"
/usr/bin/nsgmls:<OSFD>0:2:0:E: reference to entity "BOOK" for which no
system identifier could be generated
/usr/bin/nsgmls:<OSFD>0:1:0: entity was defined here
/usr/bin/nsgmls:<OSFD>0:2:0:E: DTD did not contain element declaration for
document type name
/usr/bin/nsgmls:<OSFD>0:3:5:E: element "BOOK" undefined
/usr/bin/nsgmls:<OSFD>0:4:11:E: element "BOOKINFO" undefined
/usr/bin/nsgmls:<OSFD>0:5:9:E: element "DATE" undefined
/usr/bin/nsgmls:<OSFD>0:6:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:7:13:E: element "SUBTITLE" undefined
/usr/bin/nsgmls:<OSFD>0:9:6:E: element "TOC" undefined
/usr/bin/nsgmls:<OSFD>0:12:10:E: element "CHAPTER" undefined
/usr/bin/nsgmls:<OSFD>0:13:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:14:9:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:16:10:E: element "SECT1" undefined
/usr/bin/nsgmls:<OSFD>0:17:12:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:18:11:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:22:11:E: element "APPENDIX" undefined
/usr/bin/nsgmls:<OSFD>0:23:10:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:24:9:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:26:10:E: element "SECT1" undefined
/usr/bin/nsgmls:<OSFD>0:27:12:E: element "TITLE" undefined
/usr/bin/nsgmls:<OSFD>0:28:11:E: element "PARA" undefined
/usr/bin/nsgmls:<OSFD>0:29:17:E: element "EMPHASIS" undefined
/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/book/html/mapping':
No such file or directory

--- SOURCE FILE ------------
[root@sakthi test]# cat api.sgml
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
]>
<book>
  <bookinfo>
    <date>1997-10-11</date>
    <title>My first booklet</title>
    <subtitle>it even has a subtitle</subtitle>
  </bookinfo>
  <toc></toc>
  <!-- We are done with the preliminaries, now we can start with
          the body of the document -->
  <chapter>
    <title>My first chapter</title>
    <para>Here's a paragraph of text because it is stylistically
      poor to start a section right after the chapter title.</para>
    <sect1>
      <title>A section in that first chapter</title>
      <para>All I need is a single paragraph of text to make the
        section valid.</para>
    </sect1>
  </chapter>
  <appendix>
    <title>Remaining details</title>
    <para>Although this booklet is quite complete, here I will
      mention some details I never got to.</para>
    <sect1>
      <title>Use of the word dude</title>
      <para>Here's an example of how to say
        <emphasis>dude</emphasis>: DUDE.</para>
    </sect1>
  </appendix>
</book>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23 Help wanted Raj, Ashok
  2002-01-16 16:17 ` Raj, Ashok
  2002-12-20 19:23 ` Éric Bischoff
@ 2002-12-20 19:23 ` Tim Waugh
  2002-01-17  2:00   ` Tim Waugh
  2002-12-20 19:23   ` Éric Bischoff
  2 siblings, 2 replies; 8+ messages in thread
From: Tim Waugh @ 2002-12-20 19:23 UTC (permalink / raw)
  To: Raj, Ashok; +Cc: 'docbook-tools-discuss@sourceware.cygnus.com'

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

On Wed, Jan 16, 2002 at 04:17:39PM -0800, Raj, Ashok wrote:

> once the sgml file is produced, iam not able to use any tools sgml2html etc
> to convert this to html source files.

sgml2html is from sgml-tools, which only knows about LinuxDoc. (Future
versions of this package are called linuxdoc-tools.)

You are probably looking for docbook2html, which is part of
docbook-utils.

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23 ` Tim Waugh
  2002-01-17  2:00   ` Tim Waugh
@ 2002-12-20 19:23   ` Éric Bischoff
  2002-01-17  2:11     ` Éric Bischoff
  1 sibling, 1 reply; 8+ messages in thread
From: Éric Bischoff @ 2002-12-20 19:23 UTC (permalink / raw)
  To: Tim Waugh, Raj, Ashok
  Cc: 'docbook-tools-discuss@sourceware.cygnus.com'

Le Jeudi 17 Janvier 2002 11:00, Tim Waugh a écrit :
> On Wed, Jan 16, 2002 at 04:17:39PM -0800, Raj, Ashok wrote:
> > once the sgml file is produced, iam not able to use any tools sgml2html
> > etc to convert this to html source files.
>
> sgml2html is from sgml-tools, which only knows about LinuxDoc. (Future
> versions of this package are called linuxdoc-tools.)
>
> You are probably looking for docbook2html, which is part of
> docbook-utils.

Oops, I should have read more carefully the original message. Thanks Tim.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Help wanted ...
  2002-12-20 19:23 Help wanted Raj, Ashok
  2002-01-16 16:17 ` Raj, Ashok
@ 2002-12-20 19:23 ` Éric Bischoff
  2002-01-17  1:18   ` Éric Bischoff
  2002-12-20 19:23 ` Tim Waugh
  2 siblings, 1 reply; 8+ messages in thread
From: Éric Bischoff @ 2002-12-20 19:23 UTC (permalink / raw)
  To: Raj, Ashok, 'docbook-tools-discuss@sourceware.cygnus.com'

Le Jeudi 17 Janvier 2002 01:17, Raj, Ashok a écrit :
> Hello docbook gurus...
>
> Iam using genrd (version of robodoc that can generate sgml docbook style
> output) for API documentation.
>
> once the sgml file is produced, iam not able to use any tools sgml2html etc
> to convert this to html source files.
>
> To check if there is anything wrong and go from basics, i tried to take an
> example in
>
> http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html
>
> the output from the example is here shown below. The error output is here..
> Can someone let me know what environment settings i should use. Iam having
> Redhat 7.2 and all sgml related stuff is installed in /usr/share/sgml

Please verify your centralized catalogs in /etc/sgml.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-01-17 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-20 19:23 Help wanted Raj, Ashok
2002-01-16 16:17 ` Raj, Ashok
2002-12-20 19:23 ` Éric Bischoff
2002-01-17  1:18   ` Éric Bischoff
2002-12-20 19:23 ` Tim Waugh
2002-01-17  2:00   ` Tim Waugh
2002-12-20 19:23   ` Éric Bischoff
2002-01-17  2:11     ` Éric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).