.\" Assumes a preprocessor putting all HTML tags in line initial position
.\" Also, to make args out of multiword arguments to tags by
.\" inserting beginning and ending quotes for H[123456], GLT
.\" Also <U> for underlined word needs quotes around it
.de TL \" <TITLE> 
.ft \\*[chap_num_ft]
.ps \\n[chap_num_ps]
..
.de \TL
.ft
.ps
.SP_ABS (\\n[endofhead]u>?\\n[endofbox]u)+\\n[chap_text_prespace]u
.RT
.ns
.. 
.de BOD \" <BODY> 
.LP
..
.de \BOD
.LP
..
.de BLQ \" <BLOCKQUOTE>
.QS
..
.de \BLQ
.QE
..
.ds CIT \fI 
.ds \CIT \fP
.de COD \" <CODE>
.ft CW
..
.de \COD
.ft
..
.de LSG \" <DL>
.LSV
..
.de \LSG
.\LSV
..
.de GLT \" <DT> Glossary term
.LIV \\$1 \\$2
..
.de \GLT
..
.de GL \" <DD> Glossary definition
..
.de \GL
.SP \\n[list_itemspace]u
..
.ds DFN \fI
.ds \DFN \fP
.ds DIR \fI
.ds \DIR \fP 
.de P \" <P>
.LP
..
.de H \"Supporting three levels of headers
.ie "\\$1"1" .Ah \\$2
.el .ie "\\$1"2" .Bh \\$2
.el .Ch \\$2
..
.de HED \" <HEAD>
.ig ++
..
.de \HED
.++
..
.de KIN \" <KBD>
.ft CB
..
.de \KIN 
.ft
..
.de KEY \" <KEY>
.NU
..
.de \KEY
.NU
..
.de LNK \" <LINK>
..
.de \LNK
..
.de LIN \" <LISTING>
.Ps
..
.de \LIN
.Pe
..
.de LSM \" <MENU>
.LSI \\$1
..
.de \LSM
.\LSI
..
.de NXT \" <NEXTID>
..
.de \NXT
..
.de RAW \" <PLAINTEXT>
.nf
..
.de \RAW
.fi
..
.ds fE \fB
.ds \fE \fP
.ds fZ \s+1\fB
.ds \fZ \s-1\fP
.ds fU \fI
.ds \fU \fP
.de LIT \" <PRE>
.Ps
..
.de \LIT
.Pe
..
.de STR \" <SAMP>
.na
.ft CW
..
.de \STR
.ad
.ft
..
.de LSU \" <UL>
.LSI
..
.de \LSU
.\LSI
.. 
.de XMP \" <XMP>
.Ps
..
.de \XMP
.Pe
..
.de ADR \" <ADDRESS>
.br
.nf
.ce 100
.di AD
..
.de \ADR
.br
.di
.ce 0
.fi
..
.am EM
.nf
.AD
.fi
..
