[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
How do I convert sgml to text format in RH7.1
From: "T.J. Yang" ####@####.#### Date: 12 May 2001 15:11:17 -0000 Message-Id: <F1943s1wsXZZTHfyQge00004ab7@hotmail.com> 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 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" jade:E: specification document does not have the DSSSL architecture as a base architecture Hello, World Hello, World this is my first docbook. apples - my favorite fruit. apples - my favorite fruit. apples\ - my favorite fruit. apples - my favorite fruit. Can't Access `file://localhost/root/tjdocbook/sgml/myfile.html' Alert!: Unable to access document. lynx: Can't access startfile rm: cannot remove `myfile.html': No such file or directory [root@dual sgml]# Any pointer where is the problem ? Thanks tj _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: How do I convert sgml to text format in RH7.1
From: "T.J. Yang" ####@####.#### Date: 12 May 2001 21:33:04 -0000 Message-Id: <F261Z3FZLvGVNvtL4wQ00004dcf@hotmail.com> Thanks for the pointer, it works. tj >From: "Greg Ferguson" ####@####.#### >To: "T.J. Yang" ####@####.#### >Subject: Re: How do I convert sgml to text format in RH7.1 >Date: Sat, 12 May 2001 12:16:58 -0400 > > > Any pointer where is the problem ? > >I usually create a single-file HTML instance and then use >lynx or w3m to create text: > >% jade -t sgml -i html -V nochunks -d <style> <fname>.sgml > <fname>.html > >% lynx -dump <fname>.html > <fname>.txt >or >% w3m -S -cols 78 -dump <fname>.html > <fname>.txt > >r, > >-- >Greg Ferguson - engr / mtlhd / enemyofthemusicbusiness(.com - ND) >SGI Tech Pubs - http://techpubs.sgi.com/ | gferg (at) sgi.com >Linux Doc Project - http://www.linuxdoc.org/ | gferg (at) metalab.unc.edu _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |