diff --git a/share/sgml/transpec/docbook-html.ts b/share/sgml/transpec/docbook-html.ts
index a5fc7d2ebf19..1a13a7e5a0e4 100644
--- a/share/sgml/transpec/docbook-html.ts
+++ b/share/sgml/transpec/docbook-html.ts
@@ -34,12 +34,15 @@
SGML document marked up according to the Docbook DTD into
HTML.
- There are many parts of the Docbook DTD that this
+ There are many parts of the Docbook DTD that this
translation does nothing with, however most of the basic
elements handled.
- This needs to be structured in such a way that a post-processor
- can split the file into nice sized chunks.
+ The rules in this file are in alphabetical order according
+ to the name of the element to which they apply. Rules
+ intended to be invoked from other rules are at the end of
+ the file. The order of the rules affects how they are processed
+ and an alphabetical order helps prevent unpleasnt surprises.
-->
@@ -49,6 +52,10 @@
">
+'>
+'>
+
+
@@ -67,9 +74,10 @@
+
-'>
-'>
+
+
@@ -79,10 +87,12 @@
+
&cmap;
&sdata;
-
+
+
partnum 1
chapnum 1
sect1num 1
@@ -91,22 +101,22 @@
sect4num 1
sect5num 1
subsect 1
-app 1
+appnum A
exnum 1
fignum 1
tabnum 1
eqnum 1
-
+fnotenum 1
tmpchapnum 1
-
+
ABBREV
-
+
ABSTRACT
@@ -114,74 +124,100 @@
${_attval ID &r.aend;}^
-
+
+
+ACCEL
+
+
+
ACKNO
-
+
ACRONYM
-
+
ACTION
-
+
ADDRESS
-
+
AFFILIATION
<BR>
-
+
- ANCHOR
+ANCHOR
- <A NAME="${ID}"></A>
+<A NAME="${ID}"></A>
-
+
APPENDIX
+
+^${_set chapnum ${appnum}}<!-- Start APPENDIX ${appnum} (${ID}):
+${_followrel child TITLE &r.pass;} -->^
+^<!-- End APPENDIX -->^
+appnum
+sect1num 1
-
+
APPLICATION
-<I>
-</I>
+<B>
+</B>
-
+
+
+AREA
+
+
+
+
+AREASET
+
+
+
+
+AREASPEC
+
+
+
ARG
-
+
ARTHEADER
-
+
ARTICLE
-
+
ARTPAGENUMS
-
+
AUTHOR
@@ -189,47 +225,47 @@
-
+
AUTHORBLURB
-
+
AUTHORGROUP
-
+
AUTHORINITIALS
-
+
BEGINPAGE
-
+
BIBLIODIV
-
+
BIBLIOENTRY
-
+
BIBLIOGRAPHY
-
+
BIBLIOMISC
-
+
BLOCKQUOTE
@@ -239,24 +275,25 @@ ${_attval ID &r.astart;}^
</BLOCKQUOTE>^
-
+
BOOK
^<!-- Generated on ${date} using ${transpec} -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><TITLE>${_followrel descendant TITLE &r.pass;}</TITLE><BODY BGCOLOR="#FFFFFF" TEXT="#000000">^
-^</BODY></HTML>
+^${_set fnotenum 1}${_action &r.fnote;t}
+</BODY></HTML>
-
+
BOOKBIBLIO
^<H1>${_followrel child TITLE &r.pass;}</H1>
-
+
BOOKINFO
sibling PART
@@ -265,7 +302,7 @@ ${_attval ID &r.astart;}^
${_followrel parent BOOK &r.pttoc;t}^
-
+
BOOKINFO
@@ -273,7 +310,7 @@ ${_followrel parent BOOK &r.pttoc;t}^
${_followrel parent BOOK &r.chtoc;t}^
-
+
BRIDGEHEAD
@@ -281,7 +318,17 @@ ${_followrel parent BOOK &r.chtoc;t}^
</EM></H4>^
-
+
+
+CALLOUT
+
+
+
+
+CALLOUTLIST
+
+
+
CAUTION
child TITLE
@@ -289,14 +336,14 @@ ${_followrel parent BOOK &r.chtoc;t}^
&r.admona;
-
+
CAUTION
&r.admonb;
-
+
CHAPTER
@@ -307,7 +354,9 @@ ${_followrel child TITLE &r.pass;} -->^
sect1num 1
-
+
CITATION
@@ -315,48 +364,53 @@ ${_followrel child TITLE &r.pass;} -->^
</CITE>
-
+
CITEREFENTRY
-
+
CITETITLE
-
+
CITY
-
+
CLASSNAME
-
+
CMDSYNOPSIS
-
+
+
+CO
+
+
+
COLLAB
-
+
COLLABNAME
-
+
COLSPEC
-
+
COMMAND
@@ -364,12 +418,15 @@ ${_followrel child TITLE &r.pass;} -->^
</I>
-
+
COMMENT
+
+all
-
+
COMPUTEROUTPUT
@@ -377,47 +434,48 @@ ${_followrel child TITLE &r.pass;} -->^
</CODE>
-
+
CONFDATES
-
+
CONFGROUP
-
+
CONFNUM
-
+
CONFSPONSOR
-
+
CONFTITLE
-
+
CONTRACTNUM
-
+
CONTRACTSPONSOR
-
+
CONTRIB
-
+
COPYRIGHT
@@ -425,47 +483,47 @@ ${_followrel child TITLE &r.pass;} -->^
-
+
CORPAUTHOR
-
+
CORPNAME
-
+
COUNTRY
-
+
DATABASE
-
+
DATE
-
+
DOCINFO
-
+
EDITION
-
+
EDITOR
-
+
EMAIL
@@ -473,64 +531,63 @@ ${_followrel child TITLE &r.pass;} -->^
</A>
-
-
-
+
- EMPHASIS
- REMAP bf
+EMPHASIS
+REMAP bf
- <B>
- </B>
+<B>
+</B>
-
+
- EMPHASIS
- REMAP it
+EMPHASIS
+REMAP it
- <I>
- </I>
+<I>
+</I>
-
+
- EMPHASIS
- REMAP sf
+EMPHASIS
+REMAP sf
- &hlofont;
- &hlcfont;
+&hlofont;
+&hlcfont;
-
+
- EMPHASIS
- REMAP sl
+EMPHASIS
+REMAP sl
- <I>
- </I>
+<I>
+</I>
-
+
- EMPHASIS
- REMAP tt
+EMPHASIS
+REMAP tt
- <TT>
- </TT>
+<TT>
+</TT>
-
+
- EMPHASIS
+EMPHASIS
- <EM>
- </EM>
+<EM>
+</EM>
-
+
ENTRY
ROW THEAD
@@ -539,7 +596,7 @@ ${_followrel child TITLE &r.pass;} -->^
</TH>^
-
+
ENTRY
@@ -547,62 +604,62 @@ ${_followrel child TITLE &r.pass;} -->^
</TD>^
-
+
ENTRYTBL
-
+
EPIGRAPH
-
+
EQUATION
-^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${eqnum}:</STRONG>
+^<P><HR NOSHADE>${_attval ID &r.astart;}<STRONG>${_gi M} ${eqnum}:</STRONG>
${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-^<HR>^
+^<HR NOSHADE>^
eqnum
-
+
ERRORNAME
-
+
ERRORTYPE
-
+
EXAMPLE
-^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${exnum}:</STRONG>
+^<P><HR NOSHADE>${_attval ID &r.astart;}<STRONG>${_gi M} ${exnum}:</STRONG>
${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-^<HR>^
+^<HR NOSHADE>^
exnum
-
+
FAX
-
+
FIGURE
-^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${fignum}:</STRONG>
+^<P><HR NOSHADE>${_attval ID &r.astart;}<STRONG>${_gi M} ${fignum}:</STRONG>
${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-^<HR>^
+^<HR NOSHADE>^
fignum
-
+
FILENAME
@@ -610,7 +667,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</I>
-
+
FIRSTNAME
@@ -618,7 +675,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
^
-
+
FIRSTTERM
@@ -626,17 +683,22 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</I>
-
+
FOOTNOTE
+
+<A NAME="rfn-${fnotenum}"></A><SUP><SMALL><A HREF="#fn-${fnotenum}">${fnotenum}</A></SMALL></SUP>
+all
+fnotenum
-
+
FOOTNOTEREF
-
+
FOREIGNPHRASE
@@ -644,37 +706,46 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</EM>
-
+
FORMALPARA
-
+
FUNCDEF
-
+
FUNCPARAMS
-
+
+
+FUNCPROTOTYPE
+
+
+
FUNCSYNOPSIS
-
+
FUNCSYNOPSISINFO
-
+
FUNCTION
+
+<CODE>
+</CODE>
-
+
GLOSSARY
@@ -683,7 +754,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</DL>
-
+
GLOSSDEF
@@ -691,32 +762,33 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</DD>^
-
+
GLOSSDIV
-
+
GLOSSENTRY
-
+
GLOSSLIST
-
+
GLOSSSEE
-
+
GLOSSSEEALSO
-
+
GLOSSTERM
@@ -724,39 +796,76 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</STRONG></DT>
-
+
GRAPHIC
^<P><A HREF="${_filename}">[image]</A></P>^
-
+
+
+GRAPHICCO
+
+
+
GROUP
-
+
+
+GUIBUTTON
+
+
+
+
+GUIICON
+
+
+
+
+GUILABEL
+
+
+
+
+GUIMENU
+
+
+
+
+GUIMENUITEM
+
+
+
+
+GUISUBMENU
+
+
+
HARDWARE
-
+
HIGHLIGHTS
-
+
HOLDER
-
+
HONORIFIC
-
+
IMPORTANT
child TITLE
@@ -764,46 +873,46 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
&r.admona;
-
+
IMPORTANT
&r.admonb;
-
+
INDEX
-
+
INDEXDIV
-
+
INDEXENTRY
-
+
INDEXTERM
all
-
+
INFORMALEQUATION
-
+
INFORMALEXAMPLE
-
+
INFORMALTABLE
@@ -811,47 +920,50 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
^</TABLE>^
-
+
INLINEEQUATION
-
+
INLINEGRAPHIC
-
+
INTERFACE
-
+
-INTERFACEDEFINITIONID
+INTERFACEDEFINITION
-
+
INVPARTNUMBER
-
+
ISBN
-
+
ISSN
-
+
ISSUENUM
-
+
ITEMIZEDLIST
PARA
@@ -862,7 +974,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<P>
-
+
ITEMIZEDLIST
@@ -870,37 +983,46 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
^</UL>^
-
+
JOBTITLE
-
+
KEYCAP
-
+
KEYCODE
-
+
+
+KEYCOMBO
+
+
+
KEYSYM
-
+
LEGALNOTICE
-
+
LINEAGE
-
+
LINEANNOTATION
@@ -908,12 +1030,13 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</EM>
-
+
LINK
-
+
LISTITEM
VARLISTENTRY
@@ -922,7 +1045,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</DD>^
-
+
LISTITEM
@@ -930,13 +1054,13 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</LI>^
-
+
LITERAL
LITERALLAYOUT
-
+
LITERAL
@@ -944,10 +1068,13 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
</CODE>
-
+
LITERALLAYOUT
-PARA
+PARA|INFORMALEXAMPLE
</P>
<PRE>^
@@ -955,7 +1082,10 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<P>
-
+
LITERALLAYOUT
@@ -963,17 +1093,18 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
^</PRE>
-
+
LOT
-
+
LOTENTRY
-
+
MANVOLNUM
@@ -981,90 +1112,115 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
)
-
+
MARKUP
-
+
MEDIALABEL
-
+
+
+MEMBER
+1
+
+
+
+
+MEMBER
+sibling+ MEMBER
+
+,
+
+
+
MEMBER
-^<LI>
-</LI>^
+, and
-
+
MODESPEC
-
+
+
+MOUSEBUTTON
+
+
+
MSG
-
+
MSGAUD
-
+
MSGENTRY
-
+
MSGEXPLAN
-
+
MSGINFO
-
+
MSGLEVEL
-
+
MSGMAIN
-
+
MSGORIG
-
+
MSGREL
-
+
MSGSET
-
+
MSGSUB
-
+
MSGTEXT
-
+
NOTE
child TITLE
@@ -1072,29 +1228,36 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
&r.admona;
-
+
NOTE
&r.admonb;
-
+
OLINK
-
+
OPTION
+
+<TT>
+</TT>
-
+
OPTIONAL
+
+[
+]
-
+
ORDEREDLIST
PARA
@@ -1105,7 +1268,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<P>
-
+
ORDEREDLIST
@@ -1113,52 +1277,47 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
^</OL>^
-
+
ORGDIV
-
+
ORGNAME
-
+
OTHERADDR
-
+
OTHERCREDIT
-
+
OTHERNAME
-
+
PAGENUMS
-
+
PARA
-LISTITEM|VARLISTENTRY|GLOSSDEF
+LISTITEM|VARLISTENTRY|STEP|GLOSSDEF
^<P>
</P>
-
-
-PARA
-LISTITEM
-
-
-
+
PARA
@@ -1166,19 +1325,20 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-
+
PARAMDEF
-
+
PARAMETER
-
+
- PART
+PART
^<!-- Start PART ${partnum} (${ID}):
${_followrel child TITLE &r.pass;} -->^
@@ -1186,65 +1346,69 @@ ${_followrel child TITLE &r.pass;} -->^
partnum
-
+
PARTINTRO
-
+
PHONE
-
+
POB
-
+
POSTCODE
-
+
PREFACE
-
+
PRIMARY
-
+
PRIMARYIE
-
+
PRINTHISTORY
-
+
PROCEDURE
+
+^<OL>^
+^</OL>^
-
+
PRODUCTNAME
-
+
PRODUCTNUMBER
-
+
PROGRAMLISTING
-PARA
+PARA|INFORMALEXAMPLE
</P>
<BLOCKQUOTE><PRE>^
@@ -1252,7 +1416,7 @@ ${_followrel child TITLE &r.pass;} -->^
<P>
-
+
PROGRAMLISTING
@@ -1260,12 +1424,18 @@ ${_followrel child TITLE &r.pass;} -->^
^</PRE>^
-
+
+
+PROGRAMLISTINGCO
+
+
+
PROPERTY
-
+
PUBDATE
@@ -1273,22 +1443,23 @@ ${_followrel child TITLE &r.pass;} -->^
</P>
-
+
PUBLISHER
-
+
PUBLISHERNAME
-
+
PUBSNUMBER
-
+
QUOTE
@@ -1296,24 +1467,27 @@ ${_followrel child TITLE &r.pass;} -->^
''
-
+
REFCLASS
-
+
REFDESCRIPTOR
-
+
REFENTRY
^<!-- Reference Entry -->
-
+
REFENTRYTITLE
CITEREFENTRY
@@ -1322,32 +1496,35 @@ ${_followrel child TITLE &r.pass;} -->^
</I>
-
+
REFENTRYTITLE
-<HR><H2>${_followrel ancestor REFENTRY 4}
+<HR NOSHADE><H2>${_followrel ancestor REFENTRY 4}
${_followrel ancestor REFENTRY 5}</H2>
-
+
REFERENCE
-
+
REFMETA
-
+
REFMISCINFO
all
-
+
REFNAME
@@ -1355,7 +1532,8 @@ ${_followrel child TITLE &r.pass;} -->^
^</STRONG> -^
-
+
REFNAMEDIV
@@ -1364,70 +1542,71 @@ ${_followrel child TITLE &r.pass;} -->^
^</P>^
-
+
REFPURPOSE
-
+
REFSECT1
-
+
REFSECT2
-
+
REFSECT3
-
+
REFSYNOPSISDIV
-
+
RELEASEINFO
-
+
REPLACEABLE
-<i>
-</i>
+<I>
+</I>
-
+
RETURNVALUE
-
+
REVHISTORY
-
+
REVISION
-
+
REVNUMBER
-
+
REVREMARK
-
+
ROW
@@ -1435,10 +1614,17 @@ ${_followrel child TITLE &r.pass;} -->^
^</TR>^
-
+
+
+SBR
+
+<BR>
+
+
+
SCREEN
-PARA
+PARA|INFORMALEXAMPLE
</P>
<BLOCKQUOTE><PRE>^
@@ -1446,7 +1632,7 @@ ${_followrel child TITLE &r.pass;} -->^
<P>
-
+
SCREEN
@@ -1454,27 +1640,35 @@ ${_followrel child TITLE &r.pass;} -->^
^</PRE>^
-
+
+
+SCREENCO
+
+
+
SCREENINFO
-
+
SCREENSHOT
-
+
SECONDARY
-
+
SECONDARYIE
-
+
SECT1
@@ -1482,7 +1676,7 @@ ${_followrel child TITLE &r.pass;} -->^
sect2num 1
-
+
SECT2
@@ -1490,7 +1684,7 @@ ${_followrel child TITLE &r.pass;} -->^
sect3num 1
-
+
SECT3
@@ -1498,7 +1692,7 @@ ${_followrel child TITLE &r.pass;} -->^
sect4num 1
-
+
SECT4
@@ -1506,81 +1700,86 @@ ${_followrel child TITLE &r.pass;} -->^
sect5num 1
-
+
SECT5
sect5num
-
+
SEE
-
+
SEEALSO
-
+
SEEALSOIE
-
+
SEEIE
-
+
SEG
-
+
SEGLISTITEM
-
+
SEGMENTEDLIST
-
+
SEGTITLE
-
+
SERIESINFO
-
+