[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]