docbook: How do I convert sgml to text format in RH7.1
Subject:
Re: How do I convert sgml to text format in RH7.1
From:
Gregory Leblanc ####@####.####
Date:
12 May 2001 17:42:07 -0000
Message-Id: <989689152.1080.1.camel@peecee.linuxweasel.com>
On 12 May 2001 11:10:50 -0400, T.J. Yang wrote:
>
> I would like to generate text version of LDP-Author-Guide.sgml document like
> the one at
> http://www.ibiblio.org/pub/Linux/docs/linux-doc-project/LDP-Author-Guide/LDP-Author-Guide.txt
>
> I have access to rehdat 7.1 and debian 2.2r3. My test of text
> conversion on rh7.1 failed as follows
>
> [root@dual sgml]# docbook2txt myfile.sgml
Well, the LDP doesn't use the docbook2* wrappers to generate the HTML
docs, but I'll see if I can shed some light...
> Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
> Using stylesheet: /usr/share/sgml/docbook/utils-0.6/docbook-utils.dsl#print
> Working on: /root/tjdocbook/sgml/myfile.sgml
> jade:E: cannot find "SGML_STYLESHEET"; tried "SGML_STYLESHEET",
> "/usr/share/sgml/SGML_STYLESHEET"
I think it's getting confused here... I'm guessing that SGML_STYLESHEET
should be getting replaced with something, and that it's just a variable
name. What version of the tools do you have installed? rpm -qa |grep
docbook should give you most of the tools...
Greg