Changeset 16378

Show
Ignore:
Timestamp:
12/20/04 00:40:32 (4 years ago)
Author:
patrickh
Message:

Switch from using (e)links to html2text to generate plain text from HTML
input. I am not happy with the output from more recent versions of elinks
(those installed with Fedora Core 1 and newer). html2text is at least
somewhat configurable, and it is (obviously) more specialized in its
purpose.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/juggler/doc/docbook.mk

    r16303 r16378  
    6262DVIPS?=         dvips 
    6363FOP?=           sh $(DOCBOOK_ROOT)/fop-$(FOP_VERSION)/fop.sh 
    64 HTML2TXT?=      /usr/bin/links 
    65 HTML2TXTOPTS?=  -dump 
     64HTML2TXT?=      html2text 
     65HTML2TXTOPTS?=  -ascii -nobs -style pretty -width 76 -rcfile html2text.rc 
     66HTML2TXTFILE?=  file:$< 
    6667JADE?=          openjade -V tex-backend 
    6768JADEPROC?=      $(DOCBOOK_ROOT)/jadeproc.pl 
     
    246247 
    247248.html.txt: 
    248         $(HTML2TXT) $(HTML2TXTOPTS) $(EXTRA_HTML2TXTOPTS) $< > $@ 
     249        $(HTML2TXT) $(HTML2TXTOPTS) $(EXTRA_HTML2TXTOPTS) $(HTML2TXTFILE) > $@ 
    249250 
    250251#.xml.txt: