ZapHTML v0.02Beta
=================

Disclamer
---------
These are mainly instalation notes.  It is not a manual.
This module was developed on Zap v.130.  I can hardly vouch for it working
on this version of Zap let alone any others.  Further more it was developed
on a RISC PC 700 and an A3000 (ROS3.11).  I can't see there being any machine
compatability problems but then most people don't :-)

Instalation notes
-----------------
The following instructions should aid instalation.
If you have a copy already installed then you only need cary out the actions
marked with an asterisk.

 1)	Open the directory !Zap.3rdParty and create a directory "Hambley".
*2)	Copy ZapHTML into it
*3)	The following lines must be added to "!Zap.Options.Default.External"
	or to "!Zap.External" depending on how your copy of Zap is set up.
		<Zap$3rdParty>.Hambley.ZapHTML
		  HTML
		  -
		  HTMLTEMPLATE
		  HTMLHEADING
		  HTMLLINK
		  HTMLIMAGE
		  HTMLTAGPAIR
		  HTMLSINGLETAG
		  HTMLREMARK
		  HTMLLIST
		  HTMLINSERT
*4)	Load the "Keys" file into a text editor.  This may be in
        Otions.Default too.
*5)	Edit the line starting "sc[" to perform the action HTMLINSERT "&lt;"
	instead of 'NULL'
*6)	Edit line "sc]" to perform 'HTMLINSERT "&gt;"'
*7)	Edit line "sc7" to perform 'HTMLINSERT "&"'
*8)	Edit line "scRETURN" to perform 'INSERT "<P>"'
 9)	Edit line "scV" to perform 'KEYMAP 5'
 9)	Find the list headed "File types:"
 10)	Add the line "HTML			&1FAF	HTML" to the end.
 11)	Find the list headed "Paths:"
 12)	Add the line "&508    &FFF    \#\*.html.\o\*          +HTML"
 13)	Find the list headed "Key map variables:"
 14)	Add "Map 5 range	&405	&01	&5A (HTML mode extensions)
 15)	Append to the file the following 
        5: HTML mode commands

	cA	&050001 NULL
	cB	&050002 NULL
	cC	&050003 NULL
	cD	&050004 NULL
	cE	&050005 NULL
	cF	&050006 NULL
	cG	&050007 NULL
	cH	&050008 HTMLHEADING
	cI	&050009 HTMLIMAGE
	cJ	&05000A NULL
	cK	&05000B NULL
	cL	&05000C HTMLLINK
	cM	&05000D NULL
	cN	&05000E NULL
	cO	&05000F NULL
	cP	&050010 NULL
	cQ	&050011 NULL
	cR	&050012 NULL
	cS	&050013 NULL
	cT	&050014 HTMLTEMPLATE
	cU	&050015 NULL
	cV	&050016 NULL
	cW	&050017 NULL
	cX	&050018 NULL
	cY	&050019 NULL
	cZ	&05001A NULL
	Escape  &05001B NULL
	Backspace &05001C NULL
	Return	&05001D NULL
	Home	&05001E NULL
	cDelete &05001F NULL
	A	&050020	HTMLTAGPAIR "ADDRESS"
	B	&050021 HTMLTAGPAIR "B"
	C	&050022 HTMLTAGPAIR "CODE"
	D	&050023	HTMLTAGPAIR "DFN"
	E	&050024 HTMLTAGPAIR "EM"
	F	&050025 HTMLTAGPAIR "STRONG"
	G	&050026	NULL
	H	&050028	HTMLSINGLETAG "HR"
	I	&050029 HTMLTAGPAIR "I"
	J	&05002A HTMLDEFITEM
	K	&05002B HTMLTAGPAIR "KBD"
	L	&05002C	HTMLLIST "OL LI"
	M	&05002D HTMLLIST "DL DT DD"
	N	&05002E HTMLSINGLETAG "BR"
	O	&05002F HTMLSINGLETAG "LI"
	P	&050030	HTMLTAGPAIR "PRE"
	Q	&050031 HTMLTAGPAIR "BLOCKQUOTE"
	R	&050032 HTMLTAGPAIR "CITE"
	S	&050032 HTMLTAGPAIR "SAMP"
	T	&050034	HTMLTAGPAIR "TELETYPE"
	U	&050035 HTMLLIST "UL LI"
	V	&050036 HTMLTAGPAIR "VAR"
	W       &050037 HTMLREMARK
	X	&050038 NULL
	Y	&050039 NULL
	Z	&05003A NULL
	[	&05003B NULL
	\	&05003C NULL
	]	&05003D NULL
	^	&05003E NULL
	_	&05003F NULL
	`	&050040 NULL
	a	&050041 HTMLTAGPAIR "ADDRESS"
	b	&050042 HTMLTAGPAIR "B"
	c	&050043 HTMLTAGPAIR "CODE"
	d	&050044 HTMLTAGPAIR "DFN"
	e	&050045 HTMLTAGPAIR "EM"
	f	&050046 HTMLTAGPAIR "STRONG"
	g	&050047 NULL        
	h	&050048 HTMLSINGLETAG "HR"
	i	&050049 HTMLTAGPAIR "I"
	j	&05004A HTMLDEFITEM
	k	&05004B HTMLTAGPAIR "KBD"
	l	&05004C HTMLLIST "OL LI"
	m	&05004D HTMLLIST "DL DT DD"
	n	&05004E HTMLSINGLETAG "BR"
	o	&05004F HTMLSINGLETAG "LI"
	p	&050050 HTMLTAGPAIR "PRE"
	q	&050051 HTMLTAGPAIR "BLOCKQUOTE"
	r	&050052 HTMLTAGPAIR "CITE"
	s	&050053 HTMLTAGPAIR "SAMP"
	t	&050054 HTMLTAGPAIR "TELETYPE"
	u	&050055 HTMLLIST "UL LI"
	v	&050056 HTMLTAGPAIR "VAR"
	w	&050057 HTMLREMARK
	x	&050058 NULL
	y	&050059 NULL
	z	&05005A NULL

Your copy of Zap should now support HTML documents.  Just drag them in,
<shift> double click on them or create them as you would any other document.

Most of the commands will insert an empty pair of tags, however if you have
some selected text it will be surounded by the tags.

Don't forget.  You are Beta testers - I want bug reports and ideas for
improvements.  I include the source for your edification and interest.

(\/)atthew