This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] xml to mp3
- From: David Tolpin <dvd at davidashen dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 29 Jan 2004 20:52:26 +0400 (AMT)
- Subject: Re: [docbook-apps] xml to mp3
>
> I'd love to see (help with?) a docbook to plain text
> stylesheet for accessibility.
>
DocBook to plain text stylesheet is:
.dbx.html:
${XSLT} $< ${DBX2HTML_XSL} > $@
.html.txt:
lynx -dump $< \
| sed -e '/^References$$/,$$d' \
-e '/^ *__* *$$/d' \
-e 's/\[[0-9][0-9]*\]//g' \
> $@
I am sorry if it looks cryptic, it's from my Makefile.
This reads as
first make html
then run 'lynx -dump'
and filter out the noise
I make text-only documentation for my programs using these rules,
http://ftp.davidashen.net/PreTI/RNV/readme.txt is an example.
David
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.