This is a patched and modified version of Stephen Uhler's html display
library.

I've modified and extended it in places to use with htmlview, TclPoint,
TclTutor etc.  In hopes that some of the modifications may be useful
to others, here's the code.

All the original work and credit goes to Stephen Uhler.

Stephen's original README and code are in *uhler.
....................................

 Simple HTML display library by Stephen Uhler (stephen.uhler@sun.com)
 Copyright (c) 1995 by Sun Microsystems
 Version 0.3 Fri Sep  1 10:47:17 PDT 1995

 Modified to support some 8.0 and 8.1 font conventions by Clif Flynt
	(clif@cflynt.com)
   Modifications copyright (c) 1998 by Flynt Consulting Services, 
 Version 0.3.1 Jan 10, 1999

   Modifications copyright (c) 1999 by Flynt Consulting Services, 
 Added table support (another new idea).  7/31/99
  Version 0.3.2 July, 31, 1999

 Modifications copyright (c) 1999 by Flynt Consulting Services, 
 Modified table support - support for lists in tables
                          beginning of support for nested tables.
                          fixed italics
   Version 0.3.3 Sep, 29, 1999

   Modifications copyright (c) 2000 by Flynt Consulting Services, 
 Modified table support - improved support for nested tables.
                          Changed default font to helvetica
   Version 0.3.4 April 27, 2000

 RCSID: $Header: /home/clif/CVS_ROOT/HtmlLib/htmllib.tcl,v 1.1.1.1 2000/06/04 15:50:02 clif Exp $

See the file "license.terms" for information on usage and redistribution
 of this file, and for a DISCLAIMER OF ALL WARRANTIES.

 To use this package,  create a text widget (say, .text)
 and set a variable full of html, (say $html), and issue:
	HMinit_win .text
	HMparse_html $html "HMrender .text"
 You also need to supply the routine:
   proc HMlink_callback {win href} { ...}
      win:  The name of the text widget
      href  The name of the link
 which will be called anytime the user "clicks" on a link.
 The supplied version just prints the link to stdout.
 In addition, if you wish to use embedded images, you will need to write
   proc HMset_image {handle src}
      handle  an arbitrary handle (not really)
      src     The name of the image
 Which calls
 HMgot_image $handle $image
 with the TK image.

 To return a "used" text widget to its initialized state, call:
   HMreset_win .text
 See "sample.tcl" for sample usage


