docbook: Thread: DocBook 3.1 installation woes...


[<<] [<] Page 1 of 1 [>] [>>]
Subject: DocBook 3.1 installation woes...
From: Vladimir G Ivanovic ####@####.####
Date: 10 May 2001 00:32:49 -0000
Message-Id: <200105100029.f4A0Tkc13410@banff.parc.xerox.com>

I want to use the SGML DTD that's defined in the O'Reilly book "DocBook:
The Definitive Guide" for two reasons: (1) The book is an existance proof that
the DocBook 3.1 DTD can produce a nice book design, and (2) I have both
hardcopy and HTML documentation for that version.  

So, I installed the following RPMs on my RedHat 7.1 Linux system:

  docbook-dtd30-sgml-1.0-10
  docbook-dtd31-sgml-1.0-10
  docbook-style-dsssl-1.65-1
  docbook-utils-0.6-13
  jadetex-3.3-1
  perl-SGMLSpm-1.03ii-4
  sgml-common-0.5-5
  sgml-tools-1.0.9-9
  tetex-1.0.7-15
  tetex-afm-1.0.7-15
  tetex-doc-1.0.7-15
  tetex-dvilj-1.0.7-15
  tetex-dvips-1.0.7-15
  tetex-fonts-1.0.7-15
  tetex-latex-1.0.7-15
  tetex-xdvi-1.0.7-15

I've run through the installation notes in Chapter 2 of Norman Walsh's
"The Modular DocBook Stylesheets" (http://nwalsh.com/docbook/dsssl/doc/), 
and if I set

  SGML_CATALOG_FILES=/etc/sgml/catalog:/usr/share/sgml/openjade-1.3/catalog

I can run without errors

  jade -t rtf -d jtest.dsl jtest.sgm

and, after updating DOCTYPE in `test.sgm' to "-//OASIS//DTD DocBook V3.1//EN", 

  nsgmls -sv test.sgm

But I cannot get

  jade -t rtf -d \
    /usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/docbook.dsl \
    test.sgm

to run. I get lots of errors like

  jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/../common/dbl1cs.ent:7:33:E: "283" is not a character number in the document character set

and later on

  jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/../common/dbl1cs.dsl:358:34:E: general entity "ListofExamples" not defined and no default entity

What am I missing?

Thanks!

-- Vladimir
Subject: Re: DocBook 3.1 installation woes...
From: Vladimir G Ivanovic ####@####.####
Date: 10 May 2001 20:15:20 -0000
Message-Id: <200105102012.f4AKCqv15881@banff.parc.xerox.com>

Even though docbook-style-dsssl-1.65-1 is the RPM with the highest
release number, reverting to docbook-style-dsssl-1.59-10 fixed my
problems.

-- Vladimir

"VGI" == Vladimir G Ivanovic <Vladimir> writes:

  VGI> I want to use the SGML DTD that's defined in the O'Reilly book "DocBook:
  VGI> The Definitive Guide" for two reasons: (1) The book is an existance proof that
  VGI> the DocBook 3.1 DTD can produce a nice book design, and (2) I have both
  VGI> hardcopy and HTML documentation for that version.  

  VGI> So, I installed the following RPMs on my RedHat 7.1 Linux system:

  VGI>   docbook-dtd30-sgml-1.0-10
  VGI>   docbook-dtd31-sgml-1.0-10
  VGI>   docbook-style-dsssl-1.65-1
  VGI>   docbook-utils-0.6-13
  VGI>   jadetex-3.3-1
  VGI>   perl-SGMLSpm-1.03ii-4
  VGI>   sgml-common-0.5-5
  VGI>   sgml-tools-1.0.9-9
  VGI>   tetex-1.0.7-15
  VGI>   tetex-afm-1.0.7-15
  VGI>   tetex-doc-1.0.7-15
  VGI>   tetex-dvilj-1.0.7-15
  VGI>   tetex-dvips-1.0.7-15
  VGI>   tetex-fonts-1.0.7-15
  VGI>   tetex-latex-1.0.7-15
  VGI>   tetex-xdvi-1.0.7-15

  VGI> I've run through the installation notes in Chapter 2 of Norman Walsh's
  VGI> "The Modular DocBook Stylesheets" (http://nwalsh.com/docbook/dsssl/doc/), 
  VGI> and if I set

  VGI>   SGML_CATALOG_FILES=/etc/sgml/catalog:/usr/share/sgml/openjade-1.3/catalog

  VGI> I can run without errors

  VGI>   jade -t rtf -d jtest.dsl jtest.sgm

  VGI> and, after updating DOCTYPE in `test.sgm' to "-//OASIS//DTD DocBook V3.1//EN", 

  VGI>   nsgmls -sv test.sgm

  VGI> But I cannot get

  VGI>   jade -t rtf -d \
  VGI>     /usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/docbook.dsl \
  VGI>     test.sgm

  VGI> to run. I get lots of errors like

  VGI>   jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/../common/dbl1cs.ent:7:33:E: "283" is not a character number in the document character set

  VGI> and later on

  VGI>   jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.65/print/../common/dbl1cs.dsl:358:34:E: general entity "ListofExamples" not defined and no default entity

  VGI> What am I missing?

  VGI> Thanks!

  VGI> -- Vladimir
[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.