summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfieber <jfieber@FreeBSD.org>1996-12-17 01:48:33 +0000
committerjfieber <jfieber@FreeBSD.org>1996-12-17 01:48:33 +0000
commit994565dd8daaf8a525b2b4ed58daecc5881d23c7 (patch)
tree11d7e20c01fb9efb390d743713896dde107becae
parentc0b800c454ece857d3dc7335d9c9958b469dfef5 (diff)
downloadFreeBSD-src-994565dd8daaf8a525b2b4ed58daecc5881d23c7.zip
FreeBSD-src-994565dd8daaf8a525b2b4ed58daecc5881d23c7.tar.gz
Whitespace handling in <start>, <end> and <replace> elements will
be changing slightly in such a way that missing end tags might cause rude surprises, so make end tags manditory and update the existing transpecs to conform. 2.2 fodder
-rw-r--r--share/sgml/transpec/docbook-html.ts344
-rw-r--r--share/sgml/transpec/linuxdoc-html.ts476
-rw-r--r--share/sgml/transpec/linuxdoc-latex.ts272
-rw-r--r--share/sgml/transpec/linuxdoc-roff.ts434
-rw-r--r--share/sgml/transpec/transpec.dtd8
5 files changed, 700 insertions, 834 deletions
diff --git a/share/sgml/transpec/docbook-html.ts b/share/sgml/transpec/docbook-html.ts
index 185030b..d3cb25c 100644
--- a/share/sgml/transpec/docbook-html.ts
+++ b/share/sgml/transpec/docbook-html.ts
@@ -1,6 +1,6 @@
<!--
- $Id$
+ $Id: docbook-html.ts,v 1.1 1996/11/09 02:04:05 jfieber Exp $
Copyright (C) 1996
John R. Fieber. All rights reserved.
@@ -93,9 +93,9 @@
<action>
<start>&lt;P ALIGN="CENTER">&lt;STRONG>Abstract&lt;/STRONG>&lt;/P>
&lt;BLOCKQUOTE>
-${_attval ID &r.astart;}
+${_attval ID &r.astart;}</start>
<end>^${_attval ID &r.aend;}
-&lt;/BLOCKQUOTE>^
+&lt;/BLOCKQUOTE>^</end>
</rule>
<rule>
@@ -122,7 +122,7 @@ ${_attval ID &r.astart;}
<match>
<gi>AFFILIATION
<action>
-<start>&lt;BR>
+<start>&lt;BR></start>
</rule>
<rule>
@@ -164,7 +164,7 @@ ${_attval ID &r.astart;}
<match>
<gi>AUTHOR
<action>
-<start>^&lt;P>
+<start>^&lt;P></start>
<!-- <end>&lt;/P>^ -->
</rule>
@@ -213,9 +213,9 @@ ${_attval ID &r.astart;}
<gi>BLOCKQUOTE
<action>
<start>^&lt;BLOCKQUOTE>
-${_attval ID &r.astart;}^
+${_attval ID &r.astart;}^</start>
<end>^${_attval ID &r.aend;}
-&lt;/BLOCKQUOTE>^
+&lt;/BLOCKQUOTE>^</end>
</rule>
<rule>
@@ -224,15 +224,15 @@ ${_attval ID &r.astart;}^
<action>
<start>^&lt;!-- Generated on ${date} using ${transpec} -->
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-&lt;HTML>&lt;TITLE>${_followrel descendant TITLE &r.pass;}&lt;/TITLE>&lt;BODY>^
-<end>^&lt;/BODY>&lt;/HTML>
+&lt;HTML>&lt;TITLE>${_followrel descendant TITLE &r.pass;}&lt;/TITLE>&lt;BODY>^</start>
+<end>^&lt;/BODY>&lt;/HTML></end>
</rule>
<rule>
<match>
<gi>BOOKBIBLIO
<action>
-<start>^&lt;H1>${_followrel child TITLE &r.pass;}&lt;/H1>
+<start>^&lt;H1>${_followrel child TITLE &r.pass;}&lt;/H1></start>
</rule>
<rule>
@@ -244,8 +244,8 @@ ${_attval ID &r.astart;}^
<match>
<gi>BRIDGEHEAD
<action>
-<start>^&lt;H4>&lt;EM>
-<end>&lt;/EM>&lt;/H4>^
+<start>^&lt;H4>&lt;EM></start>
+<end>&lt;/EM>&lt;/H4>^</end>
</rule>
<rule>
@@ -260,8 +260,8 @@ ${_attval ID &r.astart;}^
<gi>CHAPTER
<action>
<start>^&lt;!-- Start CHAPTER ${chapnum} (${ID}):
-${_followrel child TITLE &r.pass;} -->^
-<end>^&lt;!-- End CHAPTER -->^
+${_followrel child TITLE &r.pass;} -->^</start>
+<end>^&lt;!-- End CHAPTER -->^</end>
<incr>chapnum
<set>sect1num 1
</rule>
@@ -270,16 +270,16 @@ ${_followrel child TITLE &r.pass;} -->^
<match>
<gi>CITATION
<action>
-<start>&lt;CITE>
-<end>&lt;/CITE>
+<start>&lt;CITE></start>
+<end>&lt;/CITE></end>
</rule>
<rule>
<match>
<gi>CITEREFENTRY
<action>
-<start>&lt;TT>
-<end>&lt;/TT>
+<start>&lt;TT></start>
+<end>&lt;/TT></end>
</rule>
<rule>
@@ -331,8 +331,8 @@ ${_followrel child TITLE &r.pass;} -->^
<match>
<gi>COMPUTEROUTPUT
<action>
-<start>&lt;CODE>
-<end>&lt;/CODE>
+<start>&lt;CODE></start>
+<end>&lt;/CODE></end>
</rule>
<rule>
@@ -427,16 +427,16 @@ ${_followrel child TITLE &r.pass;} -->^
<match>
<gi>EMAIL
<action>
-<start>&lt;A HREF="mailto:${_action &r.pass;}">
-<end>&lt;/A>
+<start>&lt;A HREF="mailto:${_action &r.pass;}"></start>
+<end>&lt;/A></end>
</rule>
<rule>
<match>
<gi>EMPHASIS
<action>
-<start>&lt;EM>
-<end>&lt;/EM>
+<start>&lt;EM></start>
+<end>&lt;/EM></end>
</rule>
<rule>
@@ -444,16 +444,16 @@ ${_followrel child TITLE &r.pass;} -->^
<gi>ENTRY
<context>ROW THEAD
<action>
-<start>^&lt;TH>
-<end>&lt;/TH>^
+<start>^&lt;TH></start>
+<end>&lt;/TH>^</end>
</rule>
<rule>
<match>
<gi>ENTRY
<action>
-<start>^&lt;TD>
-<end>&lt;/TD>^
+<start>^&lt;TD></start>
+<end>&lt;/TD>^</end>
</rule>
<rule>
@@ -471,8 +471,8 @@ ${_followrel child TITLE &r.pass;} -->^
<gi>EQUATION
<action>
<start>^&lt;HR>${_attval ID &r.astart;}&lt;STRONG>${_gi M} ${eqnum}:&lt;/STRONG>
-${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-<end>^&lt;HR>^
+${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start>
+<end>^&lt;HR>^</end>
<incr>eqnum
</rule>
@@ -491,8 +491,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>EXAMPLE
<action>
<start>^&lt;HR>${_attval ID &r.astart;}&lt;STRONG>${_gi M} ${exnum}:&lt;/STRONG>
-${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-<end>^&lt;HR>^
+${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start>
+<end>^&lt;HR>^</end>
<incr>exnum
</rule>
@@ -506,8 +506,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>FIGURE
<action>
<start>^&lt;HR>${_attval ID &r.astart;}&lt;STRONG>${_gi M} ${fignum}:&lt;/STRONG>
-${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
-<end>^&lt;HR>^
+${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start>
+<end>^&lt;HR>^</end>
<incr>fignum
</rule>
@@ -515,24 +515,24 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>FILENAME
<action>
-<start>&lt;B>
-<end>&lt;/B>
+<start>&lt;B></start>
+<end>&lt;/B></end>
</rule>
<rule>
<match>
<gi>FIRSTNAME
<action>
-<start>^
-<end>^
+<start>^</start>
+<end>^</end>
</rule>
<rule>
<match>
<gi>FIRSTTERM
<action>
-<start>&lt;STRONG>
-<end>&lt;/STRONG>
+<start>&lt;STRONG></start>
+<end>&lt;/STRONG></end>
</rule>
<rule>
@@ -549,8 +549,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>FOREIGNPHRASE
<action>
-<start>&lt;EM>
-<end>&lt;/EM>
+<start>&lt;EM></start>
+<end>&lt;/EM></end>
</rule>
<rule>
@@ -588,16 +588,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>GLOSSARY
<action>
<start>&lt;H1>${_find gi TITLE &r.pass;}&lt;/H1>
-&lt;DL>^
-<end>&lt;/DL>
+&lt;DL>^</start>
+<end>&lt;/DL></end>
</rule>
<rule>
<match>
<gi>GLOSSDEF
<action>
-<start>&lt;DD>
-<end>&lt;/DD>^
+<start>&lt;DD></start>
+<end>&lt;/DD>^</end>
</rule>
<rule>
@@ -629,15 +629,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>GLOSSTERM
<action>
-<start>^&lt;DT>&lt;STRONG>
-<end>&lt;/STRONG>&lt;/DT>
+<start>^&lt;DT>&lt;STRONG></start>
+<end>&lt;/STRONG>&lt;/DT></end>
</rule>
<rule>
<match>
<gi>GRAPHIC
<action>
-<replace>^&lt;P>&lt;A HREF="${_filename}">[image]&lt;/A>&lt;/P>^
+<replace>^&lt;P>&lt;A HREF="${_filename}">[image]&lt;/A>&lt;/P>^</replace>
</rule>
<rule>
@@ -708,8 +708,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>INFORMALTABLE
<action>
-<start>^&lt;TABLE>^
-<end>^&lt;/TABLE>^
+<start>^&lt;TABLE>^</start>
+<end>^&lt;/TABLE>^</end>
</rule>
<rule>
@@ -758,17 +758,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<context>PARA
<action>
<start>&lt;/P>
-&lt;UL>^
+&lt;UL>^</start>
<end>^&lt;/UL>
-&lt;P>
+&lt;P></end>
</rule>
<rule>
<match>
<gi>ITEMIZEDLIST
<action>
-<start>^&lt;UL>^
-<end>^&lt;/UL>^
+<start>^&lt;UL>^</start>
+<end>^&lt;/UL>^</end>
</rule>
<rule>
@@ -805,8 +805,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>LINEANNOTATION
<action>
-<start>&lt;EM>
-<end>&lt;/EM>
+<start>&lt;EM></start>
+<end>&lt;/EM></end>
</rule>
<rule>
@@ -819,16 +819,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>LISTITEM
<context>VARLISTENTRY
<action>
-<start>^&lt;DD>
-<end>&lt;/DD>^
+<start>^&lt;DD></start>
+<end>&lt;/DD>^</end>
</rule>
<rule>
<match>
<gi>LISTITEM
<action>
-<start>^&lt;LI>
-<end>&lt;/LI>^
+<start>^&lt;LI></start>
+<end>&lt;/LI>^</end>
</rule>
<rule>
@@ -841,8 +841,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>LITERAL
<action>
-<start>&lt;CODE>
-<end>&lt;/CODE>
+<start>&lt;CODE></start>
+<end>&lt;/CODE></end>
</rule>
<rule>
@@ -851,17 +851,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<context>PARA
<action>
<start>&lt;/P>
-&lt;PRE>^
+&lt;PRE>^</start>
<end>^&lt;/PRE>
-&lt;P>
+&lt;P></end>
</rule>
<rule>
<match>
<gi>LITERALLAYOUT
<action>
-<start>^&lt;PRE>
-<end>^&lt;/PRE>
+<start>^&lt;PRE></start>
+<end>^&lt;/PRE></end>
</rule>
<rule>
@@ -878,8 +878,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>MANVOLNUM
<action>
-<start>(
-<end>)
+<start>(</start>
+<end>)</end>
</rule>
<rule>
@@ -896,8 +896,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>MEMBER
<action>
-<start>^&lt;LI>
-<end>&lt;/LI>^
+<start>^&lt;LI></start>
+<end>&lt;/LI>^</end>
</rule>
<rule>
@@ -993,17 +993,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<context>PARA
<action>
<start>&lt;/P>
-&lt;OL>^
+&lt;OL>^</start>
<end>^&lt;/OL>
-&lt;P>
+&lt;P></end>
</rule>
<rule>
<match>
<gi>ORDEREDLIST
<action>
-<start>^&lt;OL>^
-<end>^&lt;/OL>^
+<start>^&lt;OL>^</start>
+<end>^&lt;/OL>^</end>
</rule>
<rule>
@@ -1041,8 +1041,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>PARA
<context>LISTITEM|VARLISTENTRY|GLOSSDEF
<action>
-<start>^&lt;P>
-<end>&lt;/P>
+<start>^&lt;P></start>
+<end>&lt;/P></end>
</rule>
<rule>
@@ -1055,7 +1055,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>PARA
<action>
-<start>^&lt;P>
+<start>^&lt;P></start>
<!-- <end>&lt;/P> -->
</rule>
@@ -1135,17 +1135,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<context>PARA
<action>
<start>&lt;/P>
-&lt;BLOCKQUOTE>&lt;PRE>^
+&lt;BLOCKQUOTE>&lt;PRE>^</start>
<end>^&lt;/PRE>&lt;/BLOCKQUOTE>
-&lt;P>
+&lt;P></end>
</rule>
<rule>
<match>
<gi>PROGRAMLISTING
<action>
-<start>^&lt;PRE>^
-<end>^&lt;/PRE>^
+<start>^&lt;PRE>^</start>
+<end>^&lt;/PRE>^</end>
</rule>
<rule>
@@ -1157,8 +1157,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>PUBDATE
<action>
-<start>&lt;P>
-<end>&lt;/P>
+<start>&lt;P></start>
+<end>&lt;/P></end>
</rule>
<rule>
@@ -1180,8 +1180,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>QUOTE
<action>
-<start>``
-<end>''
+<start>``</start>
+<end>''</end>
</rule>
<rule>
@@ -1198,7 +1198,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>REFENTRY
<action>
-<start>^&lt;!-- Reference Entry -->
+<start>^&lt;!-- Reference Entry --></start>
</rule>
<rule>
@@ -1211,8 +1211,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>REFENTRYTITLE
<action>
-<start>&lt;HR>&lt;H2>${_followrel ancestor REFENTRY 4}
-<end>${_followrel ancestor REFENTRY 5}&lt;/H2>
+<start>&lt;HR>&lt;H2>${_followrel ancestor REFENTRY 4}</start>
+<end>${_followrel ancestor REFENTRY 5}&lt;/H2></end>
</rule>
<rule>
@@ -1236,8 +1236,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>REFNAME
<action>
-<start>^&lt;STRONG>
-<end>^&lt;/STRONG> -^
+<start>^&lt;STRONG></start>
+<end>^&lt;/STRONG> -^</end>
</rule>
<rule>
@@ -1245,8 +1245,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>REFNAMEDIV
<action>
<start> ^&lt;H3>Name&lt;/H3>
-&lt;P>
-<end>^&lt;/P>^
+&lt;P></start>
+<end>^&lt;/P>^</end>
</rule>
<rule>
@@ -1283,8 +1283,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>REPLACEABLE
<action>
-<start>&lt;i>
-<end>&lt;/i>
+<start>&lt;i></start>
+<end>&lt;/i></end>
</rule>
<rule>
@@ -1316,8 +1316,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>ROW
<action>
-<start>^&lt;TR valign="top">^
-<end>^&lt;/TR>^
+<start>^&lt;TR valign="top">^</start>
+<end>^&lt;/TR>^</end>
</rule>
<rule>
@@ -1456,8 +1456,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class PARAMENTITY
<action>
-<start>&lt;CODE>%
-<end>&lt;/CODE>
+<start>&lt;CODE>%</start>
+<end>&lt;/CODE></end>
</rule>
<rule>
@@ -1465,8 +1465,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class GENENTITY
<action>
-<start>&lt;CODE>&amp;
-<end>;&lt;/CODE>
+<start>&lt;CODE>&amp;</start>
+<end>;&lt;/CODE></end>
</rule>
<rule>
@@ -1474,8 +1474,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class STARTTAG
<action>
-<start>&lt;CODE>&amp;lt;
-<end>>&lt;/CODE>
+<start>&lt;CODE>&amp;lt;</start>
+<end>>&lt;/CODE></end>
</rule>
<rule>
@@ -1483,8 +1483,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class ENDTAG
<action>
-<start>&lt;CODE>&amp;lt;/
-<end>>&lt;/CODE>
+<start>&lt;CODE>&amp;lt;/</start>
+<end>>&lt;/CODE></end>
</rule>
<rule>
@@ -1492,8 +1492,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class PI
<action>
-<start>&lt;CODE>&amp;lt;?
-<end>>&lt;/CODE>
+<start>&lt;CODE>&amp;lt;?</start>
+<end>>&lt;/CODE></end>
</rule>
<rule>
@@ -1501,8 +1501,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<gi>SGMLTAG
<attval>class PI
<action>
-<start>&lt;CODE>&amp;lt;--
-<end>--&amp;lt;/CODE>
+<start>&lt;CODE>&amp;lt;--</start>
+<end>--&amp;lt;/CODE></end>
</rule>
<!-- catchall for remaining types of tags -->
@@ -1510,8 +1510,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>SGMLTAG
<action>
-<start>&lt;CODE>&amp;lt;
-<end>&amp;gt;&lt;/CODE>
+<start>&lt;CODE>&amp;lt;</start>
+<end>&amp;gt;&lt;/CODE></end>
</rule>
@@ -1537,8 +1537,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>SIMPLELIST
<action>
-<start>^&lt;UL>^
-<end>^&lt;/UL>^
+<start>^&lt;UL>^</start>
+<end>^&lt;/UL>^</end>
</rule>
<rule>
@@ -1585,8 +1585,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>SUBTITLE
<action>
-<start>^&lt;P>&lt;EM>
-<end>&lt;/EM>&lt;/P>^
+<start>^&lt;P>&lt;EM></start>
+<end>&lt;/EM>&lt;/P>^</end>
</rule>
<rule>
@@ -1598,8 +1598,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<match>
<gi>SURNAME
<action>
-<start>^
-<end>^
+<start>^</start>
+<end>^</end>
</rule>
<rule>
@@ -1623,17 +1623,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<context>PARA
<action>
<start>&lt;/P>
-&lt;BLOCKQUOTE>&lt;PRE>^
+&lt;BLOCKQUOTE>&lt;PRE>^</start>
<end>^&lt;/PRE>&lt;/BLOCKQUOTE>
-&lt;P>
+&lt;P></end>
</rule>
<rule>
<match>
<gi>SYNOPSIS
<action>
-<start>^&lt;PRE>^
-<end>^&lt;/PRE>^
+<start>^&lt;PRE>^</start>
+<end>^&lt;/PRE>^</end>
</rule>
<rule>
@@ -1647,8 +1647,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^
<attval>frame none
<action>
<start>^${_attval ID &r.astart;}&lt;STRONG>${_gi M} ${tabnum}:&lt;/STRONG>
-${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE>^
-<end>^&lt;/TABLE>^
+${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE>^</start>
+<end>^&lt;/TABLE>^</end>
<incr>tabnum
</rule>
@@ -1657,8 +1657,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE>^
<gi>TABLE
<action>
<start>^${_attval ID &r.astart;}&lt;STRONG>${_gi M} ${tabnum}:&lt;/STRONG>
-${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border">^
-<end>^&lt;/TABLE>^
+${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border">^</start>
+<end>^&lt;/TABLE>^</end>
<incr>tabnum
</rule>
@@ -1671,8 +1671,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>TERM
<action>
-<start>^&lt;DT>
-<end>&lt;/DT>^
+<start>^&lt;DT></start>
+<end>&lt;/DT>^</end>
</rule>
<rule>
@@ -1714,8 +1714,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>PREFACE
<action>
-<start>^&lt;H1>
-<end>&lt;/H1>^
+<start>^&lt;H1></start>
+<end>&lt;/H1>^</end>
</rule>
<rule>
@@ -1724,8 +1724,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<context>SECT1
<relation>ancestor PREFACE
<action>
-<start>^&lt;H2>
-<end>&lt;/H2>^
+<start>^&lt;H2></start>
+<end>&lt;/H2>^</end>
</rule>
<rule>
@@ -1734,8 +1734,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<context>SECT2
<relation>ancestor PREFACE
<action>
-<start>^&lt;H3>
-<end>&lt;/H3>^
+<start>^&lt;H3></start>
+<end>&lt;/H3>^</end>
</rule>
<rule>
@@ -1744,8 +1744,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<context>SECT3
<relation>ancestor PREFACE
<action>
-<start>^&lt;H4>
-<end>&lt;/H4>^
+<start>^&lt;H4></start>
+<end>&lt;/H4>^</end>
</rule>
<!-- Title in bookbiblio -->
@@ -1765,8 +1765,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>CHAPTER
<action>
-<start>^&lt;H1>${_followrel parent CHAPTER 4}Chapter ${chapnum}:&lt;BR>^
-<end>${_followrel parent CHAPTER 5}&lt;/H1>^
+<start>^&lt;H1>${_followrel parent CHAPTER 4}Chapter ${chapnum}:&lt;BR>^</start>
+<end>${_followrel parent CHAPTER 5}&lt;/H1>^</end>
</rule>
<rule>
@@ -1774,8 +1774,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>^REF.*
<action>
-<start>^&lt;H3>
-<end>^&lt;/H3>
+<start>^&lt;H3></start>
+<end>^&lt;/H3></end>
</rule>
<rule>
@@ -1783,8 +1783,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>SECT1
<action>
-<start>^&lt;H2>${_followrel parent SECT1 4}${chapnum}.${sect1num}^
-<end>${_followrel parent SECT1 5}&lt;/H2>^
+<start>^&lt;H2>${_followrel parent SECT1 4}${chapnum}.${sect1num}^</start>
+<end>${_followrel parent SECT1 5}&lt;/H2>^</end>
</rule>
<rule>
@@ -1792,8 +1792,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>SECT2
<action>
-<start>^&lt;H3>${_followrel parent SECT2 4}${chapnum}.${sect1num}.${sect2num}^
-<end>${_followrel parent SECT2 5}&lt;/H3>^
+<start>^&lt;H3>${_followrel parent SECT2 4}${chapnum}.${sect1num}.${sect2num}^</start>
+<end>${_followrel parent SECT2 5}&lt;/H3>^</end>
</rule>
<rule>
@@ -1801,8 +1801,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>SECT3
<action>
-<start>^&lt;H4>${_followrel parent SECT3 4}${chapnum}.${sect1num}.${sect2num}.${sect3num}^
-<end>${_followrel parent SECT1 5}&lt;/H4>^
+<start>^&lt;H4>${_followrel parent SECT3 4}${chapnum}.${sect1num}.${sect2num}.${sect3num}^</start>
+<end>${_followrel parent SECT1 5}&lt;/H4>^</end>
</rule>
<rule>
@@ -1810,8 +1810,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>SECT4
<action>
-<start>^&lt;H4>${_followrel parent SECT4 4}
-<end>${_followrel parent SECT4 5}&lt;/H4>^
+<start>^&lt;H4>${_followrel parent SECT4 4}</start>
+<end>${_followrel parent SECT4 5}&lt;/H4>^</end>
</rule>
<rule>
@@ -1819,8 +1819,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>TITLE
<context>SECT5
<action>
-<start>^&lt;H4>${_followrel parent SECT5 4}
-<end>${_followrel parent SECT5 5}&lt;/H4>^
+<start>^&lt;H4>${_followrel parent SECT5 4}</start>
+<end>${_followrel parent SECT5 5}&lt;/H4>^</end>
</rule>
<rule>
@@ -1917,7 +1917,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>TRADEMARK
<action>
-<end>(TM)
+<end>(TM)</end>
</rule>
<rule>
@@ -1929,16 +1929,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>ULINK
<action>
-<start>&lt;A href="${URL}">
-<end>&lt;/A>
+<start>&lt;A href="${URL}"></start>
+<end>&lt;/A></end>
</rule>
<rule>
<match>
<gi>USERINPUT
<action>
-<start>&lt;B>
-<end>&lt;/B>
+<start>&lt;B></start>
+<end>&lt;/B></end>
</rule>
<rule>
@@ -1951,16 +1951,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>VARIABLELIST
<context>PARA
<action>
-<start>&lt;/P>^&lt;DL>^
-<end>^&lt;/DL>^&lt;P>
+<start>&lt;/P>^&lt;DL>^</start>
+<end>^&lt;/DL>^&lt;P></end>
</rule>
<rule>
<match>
<gi>VARIABLELIST
<action>
-<start>^&lt;DL>^
-<end>^&lt;/DL>^
+<start>^&lt;DL>^</start>
+<end>^&lt;/DL>^</end>
</rule>
<rule>
@@ -1994,15 +1994,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>XREF
<action>
-<replace>&lt;A HREF="#${LINKEND}">&lt;EM>${_chasetogi TITLE &r.pass}&lt;/EM>&lt;/A>
+<replace>&lt;A HREF="#${LINKEND}">&lt;EM>${_chasetogi TITLE &r.pass}&lt;/EM>&lt;/A></replace>
</rule>
<rule>
<match>
<gi>YEAR
<action>
-<start>^
-<end>^
+<start>^</start>
+<end>^</end>
</rule>
<!-- Taken from osf-book transpec -->
@@ -2016,7 +2016,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>_name
<action>
-<start>&lt;A NAME="${ID id}">
+<start>&lt;A NAME="${ID id}"></start>
<ignore>all
</rule>
@@ -2024,7 +2024,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>_name-end
<action>
-<start>&lt;/A>
+<start>&lt;/A></start>
<ignore>all
</rule>
@@ -2032,14 +2032,14 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>_anchor-start
<action>
-<replace>${_attval ID &r.astart;}
+<replace>${_attval ID &r.astart;}</replace>
</rule>
<rule id="5">
<match>
<gi>_anchor-end
<action>
-<replace>${_attval ID &r.aend;}
+<replace>${_attval ID &r.aend;}</replace>
</rule>
<rule id="&r.ignore;">
@@ -2054,8 +2054,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>_admonition
<action>
<start>^&lt;TABLE border="border">
- &lt;TR>&lt;TD>&lt;P align="center">&lt;STRONG>${_attval ID &r.astart;}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;/STRONG>&lt;/P>^
-<end>^&lt;/TD>&lt;/TR>&lt;/TABLE>^
+ &lt;TR>&lt;TD>&lt;P align="center">&lt;STRONG>${_attval ID &r.astart;}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;/STRONG>&lt;/P>^</start>
+<end>^&lt;/TD>&lt;/TR>&lt;/TABLE>^</end>
</rule>
<rule id="&r.admonb;">
@@ -2063,15 +2063,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<gi>_admonition
<action>
<start>^&lt;TABLE border="border">
- &lt;TR>&lt;TD>^
-<end>^&lt;/TD>&lt;/TR>&lt;/TABLE>^
+ &lt;TR>&lt;TD>^</start>
+<end>^&lt;/TD>&lt;/TR>&lt;/TABLE>^</end>
</rule>
<rule id="8">
<match>
<gi>_titletext
<action>
-<start>${_attval ID &r.astart;}${ttext}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}
+<start>${_attval ID &r.astart;}${ttext}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}</start>
<ignore>all
</rule>
@@ -2079,14 +2079,14 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}&lt;TABLE border="border
<match>
<gi>_Start
<action>
-<start>^&lt;!-- Magic _Start GI -->^
+<start>^&lt;!-- Magic _Start GI -->^</start>
</rule>
<rule>
<match>
<gi>_End
<action>
-<start>^&lt;!-- Magic _End GI -->^
+<start>^&lt;!-- Magic _End GI -->^</start>
</rule>
</transpec>
diff --git a/share/sgml/transpec/linuxdoc-html.ts b/share/sgml/transpec/linuxdoc-html.ts
index ba4ca01..3aa32c3 100644
--- a/share/sgml/transpec/linuxdoc-html.ts
+++ b/share/sgml/transpec/linuxdoc-html.ts
@@ -1,6 +1,6 @@
<!--
- $Id$
+ $Id: linuxdoc-html.ts,v 1.1.1.1 1996/09/08 02:37:39 jfieber Exp $
Copyright (C) 1996
John R. Fieber. All rights reserved.
@@ -53,416 +53,369 @@
<transpec>
-<cmap>
-&cmap;
-</cmap>
+<!-- Character and SDATA entity mapping -->
+<cmap>&cmap;</cmap>
+<smap>&sdata;</smap>
-<smap>
-&sdata;
-</smap>
+<!-- Transform rules -->
<rule>
<match>
<gi>LINUXDOC
-<action>
-<start>
</rule>
<rule>
<match>
<gi>ARTICLE
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>REPORT
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>BOOK
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>NOTES
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>MANPAGE
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>TITLEPAG
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>TITLE
<action>
- <start>^&lt;@@title&gt;
- <end>
+ <start>^&lt;@@title&gt;</start>
</rule>
<rule>
<match>
<gi>SUBTITLE
<action>
- <start>^&lt;h2&gt;
- <end>&lt;/h2&gt;^
+ <start>^&lt;h2&gt;</start>
+ <end>&lt;/h2&gt;^</end>
</rule>
<rule>
<match>
<gi>DATE
-<action>
-<start>
</rule>
<rule>
<match>
<gi>AUTHOR
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>NAME
<action>
- <start>^&lt;h2&gt;
- <end>&lt;/h2&gt;
+ <start>^&lt;h2&gt;</start>
+ <end>&lt;/h2&gt;</end>
</rule>
<rule>
<match>
<gi>AND
<action>
- <start>and
- <end>
+ <start>and </start>
</rule>
<rule>
<match>
<gi>THANKS
<action>
- <start>^Thanks
- <end>
+ <start>^Thanks </start>
</rule>
<rule>
<match>
<gi>INST
<action>
- <start>^&lt;h3&gt;
- <end>&lt;/h3&gt;^
+ <start>^&lt;h3&gt;</start>
+ <end>&lt;/h3&gt;^</end>
</rule>
<rule>
<match>
<gi>NEWLINE
<action>
- <start>&lt;br&gt;
+ <start>&lt;br&gt;</start>
</rule>
<rule>
<match>
<gi>LABEL
<action>
- <start>^&lt;@@label&gt;${ID}^
+ <start>^&lt;@@label&gt;${ID}^</start>
</rule>
<rule>
<match>
<gi>HEADER
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>LHEAD
<action>
- <start>^&lt;!--
- <end>--&gt;^
+ <start>^&lt;!-- </start>
+ <end>--&gt;^</end>
</rule>
<rule>
<match>
<gi>RHEAD
<action>
- <start>^&lt;!--
- <end>--&gt;^
+ <start>^&lt;!-- </start>
+ <end>--&gt;^</end>
</rule>
<rule>
<match>
<gi>COMMENT
<action>
- <start>^&lt;h4&gt;Comment&lt;/h4&gt;^
- <end>
+ <start>^&lt;h4&gt;Comment&lt;/h4&gt;^</start>
</rule>
<rule>
<match>
<gi>ABSTRACT
<action>
- <start>^&lt;p&gt;&lt;hr&gt;&lt;em&gt;
- <end>&lt;/em&gt;&lt;hr&gt;&lt;/p&gt;^
+ <start>^&lt;p&gt;&lt;hr&gt;&lt;em&gt;</start>
+ <end>&lt;/em&gt;&lt;hr&gt;&lt;/p&gt;^</end>
</rule>
<rule>
<match>
<gi>APPENDIX
<action>
- <start>^&lt;h2&gt;Appendix&lt;/h2&gt;^
- <end>
+ <start>^&lt;h2&gt;Appendix&lt;/h2&gt;^</start>
</rule>
<rule>
<match>
<gi>TOC
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>LOF
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>LOT
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>PART
<action>
- <start>^&lt;@@part&gt;
- <end>
+ <start>^&lt;@@part&gt;</start>
</rule>
<rule>
<match>
<gi>CHAPT
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>SECT
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>SECT1
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>SECT2
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>SECT3
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>SECT4
<action>
- <start>^&lt;@@sect&gt;
- <end>^&lt;@@endsect&gt;^
+ <start>^&lt;@@sect&gt;</start>
+ <end>^&lt;@@endsect&gt;^</end>
</rule>
<rule>
<match>
<gi>HEADING
<action>
- <start>^&lt;@@head&gt;
- <end>^&lt;@@endhead&gt;^
+ <start>^&lt;@@head&gt;</start>
+ <end>^&lt;@@endhead&gt;^</end>
</rule>
<rule>
<match>
<gi>P
<action>
- <start>&lt;p&gt;
- <end>&lt;/p&gt;^
+ <start>&lt;p&gt;</start>
+ <end>&lt;/p&gt;^</end>
</rule>
<rule>
<match>
<gi>ITEMIZE
<action>
- <start>^&lt;ul&gt;^
- <end>^&lt;/ul&gt;^
+ <start>^&lt;ul&gt;^</start>
+ <end>^&lt;/ul&gt;^</end>
</rule>
<rule>
<match>
<gi>ENUM
<action>
- <start>^&lt;ol&gt;^
- <end>^&lt;/ol&gt;^
+ <start>^&lt;ol&gt;^</start>
+ <end>^&lt;/ol&gt;^</end>
</rule>
<rule>
<match>
<gi>DESCRIP
<action>
- <start>^&lt;dl&gt;^
- <end>^&lt;/dl&gt;^
+ <start>^&lt;dl&gt;^</start>
+ <end>^&lt;/dl&gt;^</end>
</rule>
<rule>
<match>
<gi>ITEM
<action>
- <start>^&lt;li&gt;
- <end>&lt;/li&gt;^
+ <start>^&lt;li&gt;</start>
+ <end>&lt;/li&gt;^</end>
</rule>
<rule>
<match>
<gi>TAG
<action>
- <start>&lt;dt&gt;&lt;b&gt;
- <end>&lt;/b&gt;&lt;dd&gt;
+ <start>&lt;dt&gt;&lt;b&gt;</start>
+ <end>&lt;/b&gt;&lt;dd&gt;</end>
</rule>
<rule>
<match>
<gi>CITE
<action>
- <start>[&lt;i&gt;${ID}&lt;/i&gt;]
- <end>
+ <start>[&lt;i&gt;${ID}&lt;/i&gt;]</start>
</rule>
<rule>
<match>
<gi>NCITE
<action>
- <start>[&lt;i&gt;${NOTE} (${ID})&lt;/i&gt;]
- <end>
+ <start>[&lt;i&gt;${NOTE} (${ID})&lt;/i&gt;]</start>
</rule>
<rule>
<match>
<gi>FOOTNOTE
<action>
- <start>^&lt;sl&gt;
- <end>&lt;/sl&gt;^
+ <start>^&lt;sl&gt;</start>
+ <end>&lt;/sl&gt;^</end>
</rule>
<rule>
<match>
<gi>SQ
<action>
- <start>"
- <end>"
+ <start>"</start>
+ <end>"</end>
</rule>
<rule>
<match>
<gi>LQ
<action>
- <start>^&lt;LQ&gt;^
- <end>^&lt;/LQ&gt;^
+ <start>^&lt;LQ&gt;^</start>
+ <end>^&lt;/LQ&gt;^</end>
</rule>
<rule>
<match>
<gi>EM
<action>
- <start>&lt;em&gt;
- <end>&lt;/em&gt;
+ <start>&lt;em&gt;</start>
+ <end>&lt;/em&gt;</end>
</rule>
<rule>
<match>
<gi>BF
<action>
- <start>&lt;b&gt;
- <end>&lt;/b&gt;
+ <start>&lt;b&gt;</start>
+ <end>&lt;/b&gt;</end>
</rule>
<rule>
<match>
<gi>IT
<action>
- <start>&lt;i&gt;
- <end>&lt;/i&gt;
+ <start>&lt;i&gt;</start>
+ <end>&lt;/i&gt;</end>
</rule>
<rule>
<match>
<gi>SF
<action>
- <start>&lt;SF&gt;
- <end>&lt;/SF&gt;
+ <start>&lt;SF&gt;</start>
+ <end>&lt;/SF&gt;</end>
</rule>
<rule>
<match>
<gi>SL
<action>
- <start>&lt;i&gt;
- <end>&lt;/i&gt;
+ <start>&lt;i&gt;</start>
+ <end>&lt;/i&gt;</end>
</rule>
<rule>
<match>
<gi>TT
<action>
- <start>&lt;code&gt;
- <end>&lt;/code&gt;
+ <start>&lt;code&gt;</start>
+ <end>&lt;/code&gt;</end>
</rule>
<rule>
@@ -470,14 +423,14 @@
<gi>URL HTMLURL
<attval>NAME .
<action>
- <start>&lt;A href="${URL}">${NAME}&lt;/A>
+ <start>&lt;A href="${URL}">${NAME}&lt;/A></start>
</rule>
<rule>
<match>
<gi>URL HTMLURL
<action>
- <start>&lt;A href="${URL}">${URL}&lt;/A>
+ <start>&lt;A href="${URL}">${URL}&lt;/A></start>
</rule>
<rule>
@@ -485,587 +438,568 @@
<gi>REF
<attval>NAME .
<action>
- <start>
-^&lt;@@ref&gt;${ID}
-${NAME}&lt;/A&gt;
+ <start>^&lt;@@ref&gt;${ID}
+${NAME}&lt;/A&gt;</start>
</rule>
<rule>
<match>
<gi>REF
<action>
- <start>
-^&lt;@@ref&gt;${ID}
-${ID}&lt;/A&gt;
+ <start>^&lt;@@ref&gt;${ID}
+${ID}&lt;/A&gt;</start>
</rule>
<rule>
<match>
<gi>HREF
<action>
- <start>^&lt;@@ref&gt;${ID}^
- <end>
+ <start>^&lt;@@ref&gt;${ID}^</start>
</rule>
<rule>
<match>
<gi>PAGEREF
<action>
- <start>^&lt;@@ref&gt;${ID}^
- <end>
+ <start>^&lt;@@ref&gt;${ID}^</start>
</rule>
<rule>
<match>
<gi>X
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>MC
<action>
- <start>&lt;MC&gt;
- <end>&lt;/MC&gt;
+ <start>&lt;MC&gt;</start>
+ <end>&lt;/MC&gt;</end>
</rule>
<rule>
<match>
<gi>BIBLIO
<action>
- <start>^&lt;BIBLIO STYLE="${STYLE}" FILES="${FILES}"&gt;^
- <end>
+ <start>^&lt;BIBLIO STYLE="${STYLE}" FILES="${FILES}"&gt;^</start>
</rule>
<rule>
<match>
<gi>CODE
<action>
- <start>^&lt;hr&gt;&lt;pre&gt;^
- <end>^&lt;/pre&gt;&lt;hr&gt;^
+ <start>^&lt;hr&gt;&lt;pre&gt;^</start>
+ <end>^&lt;/pre&gt;&lt;hr&gt;^</end>
</rule>
<rule>
<match>
<gi>VERB
<action>
- <start>^&lt;pre&gt;^
- <end>^&lt;/pre&gt;^
+ <start>^&lt;pre&gt;^</start>
+ <end>^&lt;/pre&gt;^</end>
</rule>
<rule>
<match>
<gi>TSCREEN
<action>
- <start>^&lt;blockquote&gt;&lt;code&gt;^
- <end>^&lt;/code&gt;&lt;/blockquote&gt;^
+ <start>^&lt;blockquote&gt;&lt;code&gt;^</start>
+ <end>^&lt;/code&gt;&lt;/blockquote&gt;^</end>
</rule>
<rule>
<match>
<gi>QUOTE
<action>
- <start>^&lt;blockquote&gt;^
- <end>^&lt;/blockquote&gt;^
+ <start>^&lt;blockquote&gt;^</start>
+ <end>^&lt;/blockquote&gt;^</end>
</rule>
<rule>
<match>
<gi>DEF
<action>
- <start>^&lt;DEF&gt;
- <end>^&lt;/DEF&gt;^
+ <start>^&lt;DEF&gt;</start>
+ <end>^&lt;/DEF&gt;^</end>
</rule>
<rule>
<match>
<gi>PROP
<action>
- <start>^&lt;PROP&gt;
- <end>^&lt;/PROP&gt;^
+ <start>^&lt;PROP&gt;</start>
+ <end>^&lt;/PROP&gt;^</end>
</rule>
<rule>
<match>
<gi>LEMMA
<action>
- <start>^&lt;LEMMA&gt;
- <end>^&lt;/LEMMA&gt;^
+ <start>^&lt;LEMMA&gt;</start>
+ <end>^&lt;/LEMMA&gt;^</end>
</rule>
<rule>
<match>
<gi>COROLL
<action>
- <start>^&lt;COROLL&gt;
- <end>^&lt;/COROLL&gt;^
+ <start>^&lt;COROLL&gt;</start>
+ <end>^&lt;/COROLL&gt;^</end>
</rule>
<rule>
<match>
<gi>PROOF
<action>
- <start>^&lt;PROOF&gt;
- <end>^&lt;/PROOF&gt;^
+ <start>^&lt;PROOF&gt;</start>
+ <end>^&lt;/PROOF&gt;^</end>
</rule>
<rule>
<match>
<gi>THEOREM
<action>
- <start>^&lt;THEOREM&gt;
- <end>^&lt;/THEOREM&gt;^
+ <start>^&lt;THEOREM&gt;</start>
+ <end>^&lt;/THEOREM&gt;^</end>
</rule>
<rule>
<match>
<gi>THTAG
<action>
- <start>&lt;THTAG&gt;
- <end>&lt;/THTAG&gt;
+ <start>&lt;THTAG&gt;</start>
+ <end>&lt;/THTAG&gt;</end>
</rule>
<rule>
<match>
<gi>F
<action>
- <start>&lt;F&gt;
- <end>&lt;/F&gt;
+ <start>&lt;F&gt;</start>
+ <end>&lt;/F&gt;</end>
</rule>
<rule>
<match>
<gi>DM
<action>
- <start>^&lt;DM&gt;^
- <end>^&lt;/DM&gt;^
+ <start>^&lt;DM&gt;^</start>
+ <end>^&lt;/DM&gt;^</end>
</rule>
<rule>
<match>
<gi>EQ
<action>
- <start>^&lt;EQ&gt;^
- <end>^&lt;/EQ&gt;^
+ <start>^&lt;EQ&gt;^</start>
+ <end>^&lt;/EQ&gt;^</end>
</rule>
<rule>
<match>
<gi>FR
<action>
- <start>&lt;FR&gt;
- <end>&lt;/FR&gt;
+ <start>&lt;FR&gt;</start>
+ <end>&lt;/FR&gt;</end>
</rule>
<rule>
<match>
<gi>NU
<action>
- <start>&lt;NU&gt;
- <end>&lt;/NU&gt;
+ <start>&lt;NU&gt;</start>
+ <end>&lt;/NU&gt;</end>
</rule>
<rule>
<match>
<gi>DE
<action>
- <start>&lt;DE&gt;
- <end>&lt;/DE&gt;
+ <start>&lt;DE&gt;</start>
+ <end>&lt;/DE&gt;</end>
</rule>
<rule>
<match>
<gi>LIM
<action>
- <start>&lt;LIM&gt;
- <end>&lt;/LIM&gt;
+ <start>&lt;LIM&gt;</start>
+ <end>&lt;/LIM&gt;</end>
</rule>
<rule>
<match>
<gi>OP
<action>
- <start>&lt;OP&gt;
- <end>&lt;/OP&gt;
+ <start>&lt;OP&gt;</start>
+ <end>&lt;/OP&gt;</end>
</rule>
<rule>
<match>
<gi>LL
<action>
- <start>&lt;LL&gt;
- <end>&lt;/LL&gt;
+ <start>&lt;LL&gt;</start>
+ <end>&lt;/LL&gt;</end>
</rule>
<rule>
<match>
<gi>UL
<action>
- <start>&lt;UL&gt;
- <end>&lt;/UL&gt;
+ <start>&lt;UL&gt;</start>
+ <end>&lt;/UL&gt;</end>
</rule>
<rule>
<match>
<gi>OPD
<action>
- <start>&lt;OPD&gt;
- <end>&lt;/OPD&gt;
+ <start>&lt;OPD&gt;</start>
+ <end>&lt;/OPD&gt;</end>
</rule>
<rule>
<match>
<gi>PR
<action>
- <start>&lt;PR&gt;
- <end>&lt;/PR&gt;
+ <start>&lt;PR&gt;</start>
+ <end>&lt;/PR&gt;</end>
</rule>
<rule>
<match>
<gi>IN
<action>
- <start>&lt;INT&gt;
- <end>&lt;/INT&gt;
+ <start>&lt;INT&gt;</start>
+ <end>&lt;/INT&gt;</end>
</rule>
<rule>
<match>
<gi>SUM
<action>
- <start>&lt;SUM&gt;
- <end>&lt;/SUM&gt;
+ <start>&lt;SUM&gt;</start>
+ <end>&lt;/SUM&gt;</end>
</rule>
<rule>
<match>
<gi>ROOT
<action>
- <start>&lt;ROOT&gt;
- <end>&lt;/ROOT&gt;
+ <start>&lt;ROOT&gt;</start>
+ <end>&lt;/ROOT&gt;</end>
</rule>
<rule>
<match>
<gi>AR
<action>
- <start>&lt;AR&gt;
- <end>&lt;/AR&gt;
+ <start>&lt;AR&gt;</start>
+ <end>&lt;/AR&gt;</end>
</rule>
<rule>
<match>
<gi>ARR
<action>
- <start>&lt;ARR&gt;
- <end>
+ <start>&lt;ARR&gt;</start>
</rule>
<rule>
<match>
<gi>ARC
<action>
- <start>&lt;ARC&gt;
- <end>
+ <start>&lt;ARC&gt;</start>
</rule>
<rule>
<match>
<gi>SUP
<action>
- <start>&lt;SUP&gt;
- <end>&lt;/SUP&gt;
+ <start>&lt;SUP&gt;</start>
+ <end>&lt;/SUP&gt;</end>
</rule>
<rule>
<match>
<gi>INF
<action>
- <start>&lt;INF&gt;
- <end>&lt;/INF&gt;
+ <start>&lt;INF&gt;</start>
+ <end>&lt;/INF&gt;</end>
</rule>
<rule>
<match>
<gi>UNL
<action>
- <start>&lt;UNL&gt;
- <end>&lt;/UNL&gt;
+ <start>&lt;UNL&gt;</start>
+ <end>&lt;/UNL&gt;</end>
</rule>
<rule>
<match>
<gi>OVL
<action>
- <start>&lt;OVL&gt;
- <end>&lt;/OVL&gt;
+ <start>&lt;OVL&gt;</start>
+ <end>&lt;/OVL&gt;</end>
</rule>
<rule>
<match>
<gi>RF
<action>
- <start>&lt;RF&gt;
- <end>&lt;/RF&gt;
+ <start>&lt;RF&gt;</start>
+ <end>&lt;/RF&gt;</end>
</rule>
<rule>
<match>
<gi>V
<action>
- <start>&lt;V&gt;
- <end>&lt;/V&gt;
+ <start>&lt;V&gt;</start>
+ <end>&lt;/V&gt;</end>
</rule>
<rule>
<match>
<gi>FI
<action>
- <start>&lt;FI&gt;
- <end>&lt;/FI&gt;
+ <start>&lt;FI&gt;</start>
+ <end>&lt;/FI&gt;</end>
</rule>
<rule>
<match>
<gi>PHR
<action>
- <start>&lt;PHR&gt;
- <end>&lt;/PHR&gt;
+ <start>&lt;PHR&gt;</start>
+ <end>&lt;/PHR&gt;</end>
</rule>
<rule>
<match>
<gi>TU
<action>
- <start>&lt;TU&gt;
- <end>
+ <start>&lt;TU&gt;</start>
</rule>
<rule>
<match>
<gi>FIGURE
<action>
- <start>^&lt;FIGURE&gt;^
- <end>^&lt;/FIGURE&gt;^
+ <start>^&lt;FIGURE&gt;^</start>
+ <end>^&lt;/FIGURE&gt;^</end>
</rule>
<rule>
<match>
<gi>EPS
<action>
- <start>^&lt;EPS FILE="${FILE}"&gt;^
- <end>
+ <start>^&lt;EPS FILE="${FILE}"&gt;^</start>
</rule>
<rule>
<match>
<gi>PH
<action>
- <start>^&lt;PH VSPACE="${VSPACE}"&gt;^
- <end>
+ <start>^&lt;PH VSPACE="${VSPACE}"&gt;^</start>
</rule>
<rule>
<match>
<gi>CAPTION
<action>
- <start>^&lt;CAPTION&gt;
- <end>&lt;/CAPTION&gt;^
+ <start>^&lt;CAPTION&gt;</start>
+ <end>&lt;/CAPTION&gt;^</end>
</rule>
<rule>
<match>
<gi>TABLE
<action>
- <start>^&lt;TABLE&gt;^
- <end>^&lt;/TABLE&gt;^
+ <start>^&lt;TABLE&gt;^</start>
+ <end>^&lt;/TABLE&gt;^</end>
</rule>
<rule>
<match>
<gi>TABULAR
<action>
- <start>^&lt;br&gt;^
- <end>^
+ <start>^&lt;br&gt;^</start>
+ <end>^</end>
</rule>
<rule>
<match>
<gi>ROWSEP
<action>
- <start>&lt;br&gt;^
- <end>
+ <start>&lt;br&gt;^</start>
</rule>
<rule>
<match>
<gi>COLSEP
-<action>
- <start>
- <end>
</rule>
<rule>
<match>
<gi>HLINE
<action>
- <start>^&lt;hr&gt;^
- <end>
+ <start>^&lt;hr&gt;^</start>
</rule>
<rule>
<match>
<gi>SLIDES
<action>
- <start>^&lt;SLIDES&gt;^
- <end>^&lt;/SLIDES&gt;^
+ <start>^&lt;SLIDES&gt;^</start>
+ <end>^&lt;/SLIDES&gt;^</end>
</rule>
<rule>
<match>
<gi>SLIDE
<action>
- <start>^&lt;SLIDE&gt;^
- <end>^&lt;/SLIDE&gt;^
+ <start>^&lt;SLIDE&gt;^</start>
+ <end>^&lt;/SLIDE&gt;^</end>
</rule>
<rule>
<match>
<gi>LETTER
<action>
- <start>^&lt;LETTER OPTS="${OPTS}"&gt;^
- <end>^&lt;/LETTER&gt;^
+ <start>^&lt;LETTER OPTS="${OPTS}"&gt;^</start>
+ <end>^&lt;/LETTER&gt;^</end>
</rule>
<rule>
<match>
<gi>TELEFAX
<action>
- <start>^&lt;TELEFAX OPTS="${OPTS}"&gt;^
- <end>^&lt;/TELEFAX&gt;^
+ <start>^&lt;TELEFAX OPTS="${OPTS}"&gt;^</start>
+ <end>^&lt;/TELEFAX&gt;^</end>
</rule>
<rule>
<match>
<gi>OPENING
<action>
- <start>^&lt;OPENING&gt;
- <end>&lt;/OPENING&gt;^
+ <start>^&lt;OPENING&gt;</start>
+ <end>&lt;/OPENING&gt;^</end>
</rule>
<rule>
<match>
<gi>FROM
<action>
- <start>^&lt;FROM&gt;
- <end>^&lt;/FROM&gt;^
+ <start>^&lt;FROM&gt;</start>
+ <end>^&lt;/FROM&gt;^</end>
</rule>
<rule>
<match>
<gi>TO
<action>
- <start>^&lt;TO&gt;
-
- <end>^&lt;/TO&gt;^
+ <start>^&lt;TO&gt;</start>
+ <end>^&lt;/TO&gt;^</end>
</rule>
<rule>
<match>
<gi>ADDRESS
<action>
- <start>^&lt;ADDRESS&gt;^
- <end>^&lt;/ADDRESS&gt;^
+ <start>^&lt;ADDRESS&gt;^</start>
+ <end>^&lt;/ADDRESS&gt;^</end>
</rule>
<rule>
<match>
<gi>EMAIL
<action>
- <start>^&lt;@@email&gt;
- <end>&lt;@@endemail&gt;^
+ <start>^&lt;@@email&gt;</start>
+ <end>&lt;@@endemail&gt;^</end>
</rule>
<rule>
<match>
<gi>PHONE
<action>
- <start>^&lt;PHONE&gt;
- <end>&lt;/PHONE&gt;^
+ <start>^&lt;PHONE&gt;</start>
+ <end>&lt;/PHONE&gt;^</end>
</rule>
<rule>
<match>
<gi>FAX
<action>
- <start>^&lt;FAX&gt;
- <end>&lt;/FAX&gt;^
+ <start>^&lt;FAX&gt;</start>
+ <end>&lt;/FAX&gt;^</end>
</rule>
<rule>
<match>
<gi>SUBJECT
<action>
- <start>^&lt;SUBJECT&gt;
- <end>&lt;/SUBJECT&gt;^
+ <start>^&lt;SUBJECT&gt;</start>
+ <end>&lt;/SUBJECT&gt;^</end>
</rule>
<rule>
<match>
<gi>SREF
<action>
- <start>^&lt;SREF&gt;
- <end>&lt;/SREF&gt;^
+ <start>^&lt;SREF&gt;</start>
+ <end>&lt;/SREF&gt;^</end>
</rule>
<rule>
<match>
<gi>RREF
<action>
- <start>^&lt;RREF&gt;
- <end>&lt;/RREF&gt;^
+ <start>^&lt;RREF&gt;</start>
+ <end>&lt;/RREF&gt;^</end>
</rule>
<rule>
<match>
<gi>RDATE
<action>
- <start>^&lt;RDATE&gt;
- <end>&lt;/RDATE&gt;^
+ <start>^&lt;RDATE&gt;</start>
+ <end>&lt;/RDATE&gt;^</end>
</rule>
<rule>
<match>
<gi>CLOSING
<action>
- <start>^&lt;CLOSING&gt;
- <end>&lt;/CLOSING&gt;^
+ <start>^&lt;CLOSING&gt;</start>
+ <end>&lt;/CLOSING&gt;^</end>
</rule>
<rule>
<match>
<gi>CC
<action>
- <start>^&lt;CC&gt;
- <end>&lt;/CC&gt;^
+ <start>^&lt;CC&gt;</start>
+ <end>&lt;/CC&gt;^</end>
</rule>
<rule>
<match>
<gi>ENCL
<action>
- <start>^&lt;ENCL&gt;
- <end>&lt;/ENCL&gt;^
+ <start>^&lt;ENCL&gt;</start>
+ <end>&lt;/ENCL&gt;^</end>
</rule>
<rule>
<match>
<gi>PS
<action>
- <start>^&lt;PS&gt;^
- <end>^&lt;/PS&gt;^
+ <start>^&lt;PS&gt;^</start>
+ <end>^&lt;/PS&gt;^</end>
</transpec>
diff --git a/share/sgml/transpec/linuxdoc-latex.ts b/share/sgml/transpec/linuxdoc-latex.ts
index ad7511f..3772b6c 100644
--- a/share/sgml/transpec/linuxdoc-latex.ts
+++ b/share/sgml/transpec/linuxdoc-latex.ts
@@ -1,6 +1,6 @@
<!--
- $Id: linuxdoc-latex.ts,v 1.1.1.1 1996/09/08 02:37:39 jfieber Exp $
+ $Id: linuxdoc-latex.ts,v 1.2 1996/09/08 19:20:04 jfieber Exp $
Copyright (C) 1996
John R. Fieber. All rights reserved.
@@ -51,21 +51,18 @@
<transpec>
-<cmap>
-&cmap;
-</cmap>
+<!-- Character and SDATA entity mapping -->
+<cmap>&cmap;</cmap>
+<smap>&sdata;</smap>
-<smap>
-&sdata;
-</smap>
+<!-- Transform rules -->
<rule>
<match>
<gi>LINUXDOC
<action>
-<start>
-% Generated ${date} using ${transpec}
-% by ${user}@${host}
+<start>% Generated ${date} using ${transpec}
+% by ${user}@${host}</start>
</rule>
<rule>
@@ -117,9 +114,6 @@
<rule>
<match>
<gi>MANPAGE
-<action>
-<start>
-<end>
</rule>
<rule>
@@ -127,7 +121,7 @@
<gi>TITLEPAG
<action>
<end>^\begin{document}
-\maketitle^<end>
+\maketitle^</end>
</rule>
<rule>
@@ -157,9 +151,6 @@
<rule>
<match>
<gi>NAME
-<action>
-<start>
-<end>
</rule>
<rule>
@@ -173,8 +164,8 @@
<match>
<gi>THANKS
<action>
-<start>\thanks{
-<end>}
+<start>\thanks{</start>
+<end>}</end>
</rule>
<rule>
@@ -197,15 +188,14 @@
<match>
<gi>NEWLINE
<action>
-<start>\\
-<end>
+<start>\\ </start>
</rule>
<rule>
<match>
<gi>LABEL
<action>
-<start>\label{${ID}}
+<start>\label{${ID}}</start>
</rule>
<rule>
@@ -219,8 +209,8 @@
<match>
<gi>LHEAD
<action>
-<start>{
-<end>}
+<start>{</start>
+<end>}</end>
</rule>
<rule>
@@ -235,8 +225,8 @@
<match>
<gi>COMMENT
<action>
-<start>{\tt
-<end>}
+<start>{\tt </start>
+<end>}</end>
</rule>
<rule>
@@ -322,14 +312,13 @@
<gi>SECT4
<action>
<start>^\subparagraph</start>
-<end>
</rule>
<rule>
<match>
<gi>HEADING
<action>
-<start>{
+<start>{</start>
<end>}
</end>
@@ -395,48 +384,48 @@
<match>
<gi>CITE
<action>
-<start>\cite{${ID}
-<end>}
+<start>\cite{${ID}</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>NCITE
<action>
-<start>\cite\[${NOTE}\]{${ID}
-<end>}
+<start>\cite\[${NOTE}\]{${ID}</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>IDX
<action>
-<start>\idx{
-<end>}
+<start>\idx{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>CDX
<action>
-<start>\cdx{
-<end>}
+<start>\cdx{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>FOOTNOTE
<action>
-<start>\footnote{
-<end>}
+<start>\footnote{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>SQ
<action>
-<start>``
-<end>''
+<start>``</start>
+<end>''</end>
</rule>
<rule>
@@ -451,56 +440,56 @@
<match>
<gi>EM
<action>
-<start>\emph{
-<end>}
+<start>\emph{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>BF
<action>
-<start>{\bf
-<end>}
+<start>{\bf </start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>IT
<action>
-<start>\textit{
-<end>}
+<start>\textit{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>SF
<action>
-<start>\textsf{
-<end>}
+<start>\textsf{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>SL
<action>
-<start>\textsl{
-<end>}
+<start>\textsl{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>RM
<action>
-<start>\textrm{
-<end>}
+<start>\textrm{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>TT
<action>
-<start>\texttt{
-<end>}
+<start>\texttt{</start>
+<end>}</end>
</rule>
<rule>
@@ -515,16 +504,14 @@
<match>
<gi>REF
<action>
-<start>\ref{${ID}}
-<end>
+<start>\ref{${ID}}</start>
</rule>
<rule>
<match>
<gi>PAGEREF
<action>
-<start>\pageref{${ID}}
-<end>
+<start>\pageref{${ID}}</start>
</rule>
<!-- A URL with a NAME attribute -->
@@ -548,24 +535,17 @@
<match>
<gi>HTMLURL
<action>
-<start>${NAME}
-<end>
+<start>${NAME}</start>
</rule>
<rule>
<match>
<gi>X
-<action>
-<start>
-<end>
</rule>
<rule>
<match>
<gi>MC
-<action>
-<start>
-<end>
</rule>
<rule>
@@ -625,304 +605,286 @@
<match>
<gi>PROP
<action>
-<start>^\begin{proposition}^
-<end>^\end{proposition}^
+<start>^\begin{proposition}^</start>
+<end>^\end{proposition}^</end>
</rule>
<rule>
<match>
<gi>LEMMA
<action>
-<start>^\begin{lemma}
-<end>^\end{lemma}^
+<start>^\begin{lemma}</start>
+<end>^\end{lemma}^</end>
</rule>
<rule>
<match>
<gi>COROLL
<action>
-<start>^\begin{corollary}
-<end>^\end{corollary}^
+<start>^\begin{corollary}</start>
+<end>^\end{corollary}^</end>
</rule>
<rule>
<match>
<gi>PROOF
<action>
-<start>^{\noindent{\bf Proof.} ^
-<end>^}
+<start>^{\noindent{\bf Proof.} ^</start>
+<end>^}</end>
</rule>
<rule>
<match>
<gi>THEOREM
<action>
-<start>^\begin{theorem}
-<end>^\end{theorem}^
+<start>^\begin{theorem}</start>
+<end>^\end{theorem}^</end>
</rule>
<rule>
<match>
<gi>THTAG
<action>
-<start>\[
-<end>\]^
+<start>\[</start>
+<end>\]^</end>
</rule>
<rule>
<match>
<gi>F
<action>
-<start>\$
-<end>\$
+<start>\$</start>
+<end>\$</end>
</rule>
<rule>
<match>
<gi>DM
<action>
-<start>^\\[
-<end>\\]^
+<start>^\\[</start>
+<end>\\]^</end>
</rule>
<rule>
<match>
<gi>EQ
<action>
-<start>^\begin{equation}^
-<end>^\end{equation}^
+<start>^\begin{equation}^</start>
+<end>^\end{equation}^</end>
</rule>
<rule>
<match>
<gi>FR
<action>
-<start>\frac
-<end>
+<start>\frac</start>
</rule>
<rule>
<match>
<gi>NU
<action>
-<start>{
-<end>}
+<start>{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>DE
<action>
-<start>{
-<end>}
+<start>{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>LIM
-<action>
-<start>
-<end>
</rule>
<rule>
<match>
<gi>OP
-<action>
-<start>
-<end>
</rule>
<rule>
<match>
<gi>LL
<action>
-<start>_{
-<end>}
+<start>_{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>UL
<action>
-<start>^{
-<end>}
+<start>^{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>OPD
-<action>
-<start>
-<end>
</rule>
<rule>
<match>
<gi>PR
<action>
-<start>\prod
-<end>
+<start>\prod</start>
</rule>
<rule>
<match>
<gi>IN
<action>
-<start>\int
-<end>
+<start>\int</start>
</rule>
<rule>
<match>
<gi>SUM
<action>
-<start>\sum
-<end>
+<start>\sum</start>
</rule>
<rule>
<match>
<gi>ROOT
<action>
-<start>\sqrt\[[n]\]{
-<end>}
+<start>\sqrt\[[n]\]{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>AR
<action>
-<start>^\begin{array}{[ca]}^
-<end>^\end{array}^
+<start>^\begin{array}{[ca]}^</start>
+<end>^\end{array}^</end>
</rule>
<rule>
<match>
<gi>ARR
<action>
-<start>\\ ^
-<end>
+<start>\\ ^</start>
</rule>
<rule>
<match>
<gi>ARC
<action>
-<start>&
-<end>
+<start>& </start>
</rule>
<rule>
<match>
<gi>SUP
<action>
-<start>^{
-<end>}
+<start>^{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>INF
<action>
-<start>_{
-<end>}
+<start>_{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>UNL
<action>
-<start>\underline{
-<end>}
+<start>\underline{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>OVL
<action>
-<start>\overline{
-<end>}
+<start>\overline{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>RF
<action>
-<start>\mbox{\tt
-<end>}
+<start>\mbox{\tt </start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>V
<action>
-<start>\vec{
-<end>}
+<start>\vec{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>FI
<action>
-<start>{\cal
-<end>}
+<start>{\cal </start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>PHR
<action>
-<start>{\rm
-<end>}
+<start>{\rm </start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>TU
<action>
-<start>\\
-<end>
+<start>\\</start>
</rule>
<rule>
<match>
<gi>FIGURE
<action>
-<start>^\begin{figure}\[${LOC}\]^
-<end>^\end{figure}^
+<start>^\begin{figure}\[${LOC}\]^</start>
+<end>^\end{figure}^</end>
</rule>
<rule>
<match>
<gi>EPS
<action>
-<start>^\centerline{\epsffile{${FILE}}}^
-<end>
+<start>^\centerline{\epsffile{${FILE}}}^</start>
</rule>
<rule>
<match>
<gi>PH
<action>
-<start>^\vspace{${VSPACE}}\par^
-<end>
+<start>^\vspace{${VSPACE}}\par^</start>
</rule>
<rule>
<match>
<gi>CAPTION
<action>
-<start>^\caption{
-<end>}^
+<start>^\caption{</start>
+<end>}^</end>
</rule>
<rule>
<match>
<gi>TABLE
<action>
-<start>^\begin{table}\[${LOC}\]^
-<end>^\end{table}^
+<start>^\begin{table}\[${LOC}\]^</start>
+<end>^\end{table}^</end>
</rule>
<rule>
@@ -930,33 +892,30 @@
<gi>TABULAR
<action>
<start>^\begin{center}
-\begin{tabular}{${CA}}^
+\begin{tabular}{${CA}}^</start>
<end>^\end{tabular}
-\end{center}^
+\end{center}^</end>
</rule>
<rule>
<match>
<gi>ROWSEP
<action>
-<start>\\ ^
-<end>
+<start>\\ ^</start>
</rule>
<rule>
<match>
<gi>COLSEP
<action>
-<start>&
-<end>
+<start>& </start>
</rule>
<rule>
<match>
<gi>HLINE
<action>
-<start>^\hline^
-<end>
+<start>^\hline^</start>
</rule>
<rule>
@@ -972,16 +931,15 @@
\end{center}
\bigskip
}
-\begin{document}^
-<end>^\end{document}^
+\begin{document}^</start>
+<end>^\end{document}^</end>
</rule>
<rule>
<match>
<gi>SLIDE
<action>
-<start>
-<end>^\newpage^
+<end>^\newpage^</end>
</rule>
</transpec>
diff --git a/share/sgml/transpec/linuxdoc-roff.ts b/share/sgml/transpec/linuxdoc-roff.ts
index aa31ae6..d253b94a 100644
--- a/share/sgml/transpec/linuxdoc-roff.ts
+++ b/share/sgml/transpec/linuxdoc-roff.ts
@@ -1,6 +1,6 @@
<!--
- $Id: linuxdoc-roff.ts,v 1.1.1.1 1996/09/08 02:37:39 jfieber Exp $
+ $Id: linuxdoc-roff.ts,v 1.2 1996/09/08 19:20:05 jfieber Exp $
Copyright (C) 1996
John R. Fieber. All rights reserved.
@@ -61,15 +61,9 @@
<transpec>
-<!-- Character mapping -->
-<cmap>
-&cmap;
-</cmap>
-
-<!-- SDATA entity mapping -->
-<smap>
-&sdata;
-</smap>
+<!-- Character and SDATA entity mapping -->
+<cmap>&cmap;</cmap>
+<smap>&sdata;</smap>
<!-- Transform rules -->
@@ -129,9 +123,8 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>ARTICLE
<action>
-<start>
-^.nr Hb 4
-.nr Hs 4^
+<start>^.nr Hb 4
+.nr Hs 4^</start>
<end>^.bp
.TC^</end>
</rule>
@@ -145,7 +138,7 @@ ${_followrel descendant LABEL &r.initr;}</start>
.nr Hs 5^</start>
<end>
^.bp
-.TC^
+.TC^</end>
</rule>
<rule>
@@ -162,29 +155,25 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>TITLEPAG
<action>
-<start>
-^\&
-.if t .SP 1i^
-<end>
-^.SP 3^
+<start>^\&
+.if t .SP 1i^</start>
+<end>^.SP 3^</end>
</rule>
<rule>
<match>
<gi>TITLE
<action>
-<start>
-^.if t .S 18
+<start>^.if t .S 18
.DS C F
.if t .fam H
.B
-.if t .SA 0^
-<end>
-^.if t .SA 1
+.if t .SA 0^</start>
+<end>^.if t .SA 1
.R
.if t .fam &family;
.DE
-.if t .S D^
+.if t .S D^</end>
</rule>
<rule>
@@ -196,30 +185,28 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>DATE
<action>
-<start>^.DS C F^
-<end>^.DE^
+<start>^.DS C F^</start>
+<end>^.DE^</end>
</rule>
<rule>
<match>
<gi>ABSTRACT
<action>
-<start>
-^.SP 3
+<start>^.SP 3
.DS C
.B Abstract
.DE
-.DS I F^
-<end>
-^.DE^
+.DS I F^</start>
+<end>^.DE^</end>
</rule>
<rule>
<match>
<gi>AUTHOR
<action>
-<start>^.DS C F^
-<end>^.DE^
+<start>^.DS C F^</start>
+<end>^.DE^</end>
</rule>
<rule>
@@ -231,38 +218,37 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>AND
<action>
-<start>^.br^
+<start>^.br^</start>
</rule>
<rule>
<match>
<gi>THANKS
<action>
-<start>
-\*F
-.FS^
-<end> ^.FE^
+<start>\*F
+.FS^</start>
+<end>^.FE^</end>
</rule>
<rule>
<match>
<gi>INST
<action>
-<start> ^.br^
+<start>^.br^</start>
</rule>
<rule>
<match>
<gi>NEWLINE
<action>
-<start> ^.br^
+<start>^.br^</start>
</rule>
<rule id="&r.label;">
<match>
<gi>LABEL
<action>
-<start>^.SETR "${ID}"^
+<start>^.SETR "${ID}"^</start>
</rule>
<rule>
@@ -274,31 +260,31 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>LHEAD
<action>
-<start> ^.EH '
-<end> '''^
+<start>^.EH '</start>
+<end>'''^</end>
</rule>
<rule>
<match>
<gi>RHEAD
<action>
-<start> ^.OH '''
-<end> '^
+<start>^.OH '''</start>
+<end>'^</end>
</rule>
<rule>
<match>
<gi>COMMENT
<action>
-<start> ^(*^
-<end> ^*)^
+<start>^(*^</start>
+<end>^*)^</end>
</rule>
<rule>
<match>
<gi>APPENDIX
<action>
-<start> ^.af H1 A^
+<start>^.af H1 A^</start>
</rule>
<rule>
@@ -325,8 +311,7 @@ ${_followrel descendant LABEL &r.initr;}</start>
<match>
<gi>CHAPT
<action>
-<start>
-^.if t .SK
+<start>^.if t .SK
${_set sl 1}</start>
</rule>
@@ -372,7 +357,7 @@ ${_set sl 1}</start>
<match>
<gi>SECT2
<action>
-<start>${_set sl 3}
+<start>${_set sl 3}</start>
</rule>
<rule>
@@ -410,18 +395,17 @@ ${_set sl 1}</start>
<gi>HEADING
<context>PART
<action>
-<start>
-^.if t .SK
+<start>^.if t .SK
\&
.if t .fam H
.SP 3i
.if t .S 24
Part \n+(H0
.SP 1i
-.if t .S 36^
+.if t .S 36^</start>
<end>^.if t .S D
.if t .fam &family;
-.if t .SK^
+.if t .SK^</end>
</rule>
<rule>
@@ -430,7 +414,7 @@ Part \n+(H0
<action>
<start>^.H ${sl} "</start>
<end>"
-${_followrel child LABEL &r.label}
+${_followrel child LABEL &r.label}</end>
</rule>
<!--
@@ -444,7 +428,7 @@ ${_followrel child LABEL &r.label}
.di
.asciify fbsd-head
.H ${sl} \*[fbsd-head]
-${_followrel child LABEL &r.label}
+${_followrel child LABEL &r.label}</end>
</rule>
-->
@@ -459,7 +443,7 @@ ${_followrel child LABEL &r.label}
<match>
<gi>P
<action>
-<start> ${_notempty &r.phack;}
+<start>${_notempty &r.phack;}</start>
</rule>
<!-- Completely empty paragraphs. -->
@@ -467,7 +451,7 @@ ${_followrel child LABEL &r.label}
<match>
<gi>_phack
<action>
-<replace>^.P^
+<replace>^.P^</replace>
</rule>
@@ -475,145 +459,142 @@ ${_followrel child LABEL &r.label}
<match>
<gi>ITEMIZE
<action>
-<start> ^.BL^
-<end> ^.LE^
+<start>^.BL^</start>
+<end>^.LE^</end>
</rule>
<rule>
<match>
<gi>ENUM
<action>
-<start> ^.AL^
-<end> ^.LE^
+<start>^.AL^</start>
+<end>^.LE^</end>
</rule>
<rule>
<match>
<gi>DESCRIP
<action>
-<start> ^.BVL \n(Li*2/1 \n(Li^
-<end> ^.LE^
+<start>^.BVL \n(Li*2/1 \n(Li^</start>
+<end>^.LE^</end>
</rule>
<rule>
<match>
<gi>ITEM
<action>
-<start> ^.LI^
+<start>^.LI^</start>
</rule>
<rule>
<match>
<gi>TAG
<action>
-<start> ^.LI "
-<end>"^
+<start>^.LI "</start>
+<end>"^</end>
</rule>
<rule>
<match>
<gi>CITE
<action>
-<start> ^.\[
+<start>^.\[
${ID}
-.\]^
+.\]^</start>
</rule>
<rule>
<match>
<gi>NCITE
<action>
-<start> ^.\[
+<start>^.\[
${ID}
.\]
-(${NOTE})
+(${NOTE})</start>
</rule>
<rule>
<match>
<gi>FOOTNOTE
<action>
-<start>
-\*F
-.FS^
-<end>^.FE^
+<start>\*F
+.FS^</start>
+<end>^.FE^</end>
</rule>
<rule>
<match>
<gi>SQ
<action>
-<start> \*Q
-<end> \*U
+<start>\*Q</start>
+<end>\*U</end>
</rule>
<rule>
<match>
<gi>LQ
<action>
-<start>
-^.if t .br
+<start>^.if t .br
.if t .S -2
-.DS I F^
-<end>
-^.DE
-.if t .S D^
+.DS I F^</start>
+<end>^.DE
+.if t .S D^</end>
</rule>
<rule>
<match>
<gi>EM
<action>
-<start> \fI
-<end> \fR
+<start>\fI</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>BF
<action>
-<start> \fB
-<end> \fR
+<start>\fB</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>IT
<action>
-<start> \fI
-<end> \fR
+<start>\fI</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>SF
<action>
-<start> \fR
-<end> \fR
+<start>\fR</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>SL
<action>
-<start> \fI
-<end> \fR
+<start>\fI</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>TT
<action>
-<start> \fC
-<end> \fR
+<start>\fC</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>CPARAM
<action>
-<start> \fI<
-<end> >\fR
+<start>\fI<</start>
+<end>>\fR</end>
</rule>
<!-- A URL with a NAME attribute -->
@@ -622,11 +603,11 @@ ${ID}
<gi>URL
<attval>NAME .
<action>
-<start> ${NAME}\*F
+<start>${NAME}\*F
.FS
\fC&lt;URL:${URL}&gt;\fP
.FE
-\&
+\&</start>
</rule>
<!-- A URL without a NAME attribute -->
@@ -634,14 +615,14 @@ ${ID}
<match>
<gi>URL
<action>
-<start> \fC&lt;URL:${URL}&gt;\fP
+<start>\fC&lt;URL:${URL}&gt;\fP</start>
</rule>
<rule>
<match>
<gi>HTMLURL
<action>
-<start> ${NAME}
+<start>${NAME}</start>
</rule>
<rule>
@@ -649,33 +630,30 @@ ${ID}
<gi>REF
<attval>NAME .
<action>
-<start>
-\fI${NAME}\fP (section\~
+<start>\fI${NAME}\fP (section\~
.GETHN "${ID}"
, page\~
.GETPN "${ID}"
-)
+)</start>
</rule>
<rule>
<match>
<gi>REF
<action>
-<start>
-\fI${ID}\fP (section\~
+<start>\fI${ID}\fP (section\~
.GETHN "${ID}"
, page\~
.GETPN "${ID}"
-)
+)</start>
</rule>
<rule>
<match>
<gi>PAGEREF
<action>
-<start>
-^.GETPN "${ID}"
-\&
+<start>^.GETPN "${ID}"
+\&</start>
</rule>
<rule>
@@ -692,22 +670,21 @@ ${ID}
<match>
<gi>BIBLIO
<action>
-<start> ^.\[
+<start>^.\[
\$LIST\$
-.\]^
+.\]^</start>
</rule>
<rule>
<match>
<gi>VERB CODE
<action>
-<start> ^.if t .br
+<start>^.if t .br
.if t .S -2
.DS I
-.fam C^
-<end>
-^.DE
-.if t .S D^
+.fam C^</start>
+<end>^.DE
+.if t .S D^</end>
</rule>
<rule>
@@ -720,98 +697,96 @@ ${ID}
<match>
<gi>TSCREEN
<action>
-<start> ^.if t .br
+<start>^.if t .br
.if t .S -2
.DS I
-.fam C^
-<end>
-^.DE
-.if t .S D^
+.fam C^</start>
+<end>^.DE
+.if t .S D^</end>
</rule>
<rule>
<match>
<gi>QUOTE
<action>
-<start> ^.DS I F^
-<end>
-^.DE^
+<start>^.DS I F^</start>
+<end>^.DE^</end>
</rule>
<rule>
<match>
<gi>DEF
<action>
-<start> ^.sp
+<start>^.sp
.nr def \n\[def\]+1
-.B "Definition \n\[def\] "^
-<end> ^.ft P
-.sp^
+.B "Definition \n\[def\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>PROP
<action>
-<start> ^.sp
+<start>^.sp
.nr prop \n\[prop\]+1
-.B "Proposition \n\[prop\] "^
-<end> ^.ft P
-.sp^
+.B "Proposition \n\[prop\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>LEMMA
<action>
-<start> ^.sp
+<start>^.sp
.nr lemma \n\[lemma\]+1
-.B "Lemma \n\[lemma\] "^
-<end> ^.ft P
-.sp^
+.B "Lemma \n\[lemma\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>COROLL
<action>
-<start> ^.sp
+<start>^.sp
.nr coroll \n\[coroll\]+1
-.B "Corolloary \n\[coroll\] "^
-<end> ^.ft P
-.sp^
+.B "Corolloary \n\[coroll\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>PROOF
<action>
-<start> ^.sp
+<start>^.sp
.nr proof \n\[proof\]+1
-.B "Proof \n\[proof\] "^
-<end> ^.ft P
-.sp^
+.B "Proof \n\[proof\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>THEOREM
<action>
-<start> ^.sp
+<start>^.sp
.nr theorem \n\[theorem\]+1
-.B "Theorem \n\[theorem\] "^
-<end> ^.ft P
-.sp^
+.B "Theorem \n\[theorem\] "^</start>
+<end>^.ft P
+.sp^</end>
</rule>
<rule>
<match>
<gi>THTAG
<action>
-<start> ^.B
-(
-<end> )
-.I^
+<start>^.B
+(</start>
+<end>)
+.I^</end>
</rule>
<rule>
@@ -823,16 +798,16 @@ ${ID}
<match>
<gi>DM
<action>
-<start> ^.DS L^
-<end> ^.DE^
+<start>^.DS L^</start>
+<end>^.DE^</end>
</rule>
<rule>
<match>
<gi>EQ
<action>
-<start> ^.DS L^
-<end> ^.DE^
+<start>^.DS L^</start>
+<end>^.DE^</end>
</rule>
<rule>
@@ -844,16 +819,16 @@ ${ID}
<match>
<gi>NU
<action>
-<start> {
-<end> } over
+<start>{</start>
+<end>} over </end>
</rule>
<rule>
<match>
<gi>DE
<action>
-<start> {
-<end> }
+<start>{</start>
+<end>}</end>
</rule>
<rule>
@@ -870,16 +845,16 @@ ${ID}
<match>
<gi>LL
<action>
-<start> from {
-<end> }
+<start>from {</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>UL
<action>
-<start> to {
-<end> }
+<start>to {</start>
+<end>}</end>
</rule>
<rule>
@@ -891,39 +866,39 @@ ${ID}
<match>
<gi>PR
<action>
-<start> prod
+<start> prod </start>
</rule>
<rule>
<match>
<gi>IN
<action>
-<start> int
+<start> int </start>
</rule>
<rule>
<match>
<gi>SUM
<action>
-<start> sum
+<start> sum </start>
</rule>
<rule>
<match>
<gi>ROOT
<action>
-<start> sqrt {
-<end> }
+<start> sqrt {</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>AR
<action>
-<start> ^.TS
+<start>^.TS
center, tab(|) ;
-${CA}.^
-<end> ^.TE^
+${CA}.^</start>
+<end>^.TE^</end>
</rule>
<rule>
@@ -935,78 +910,78 @@ ${CA}.^
<match>
<gi>ARC
<action>
-<start> |
+<start>|</start>
</rule>
<rule>
<match>
<gi>SUP
<action>
-<start> sup {
-<end> }
+<start> sup {</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>INF
<action>
-<start> sub {
-<end> }
+<start> sub {</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>UNL
<action>
-<start> {
-<end> } under
+<start>{</start>
+<end>} under </end>
</rule>
<rule>
<match>
<gi>OVL
<action>
-<start> {
-<end> } bar
+<start>{</start>
+<end>} bar </end>
</rule>
<rule>
<match>
<gi>RF
<action>
-<start> bold{
-<end> }
+<start> bold{</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>V
<action>
-<start> {
-<end> } vec
+<start>{</start>
+<end>} vec </end>
</rule>
<rule>
<match>
<gi>FI
<action>
-<start> \fI
-<end> \fR
+<start>\fI</start>
+<end>\fR</end>
</rule>
<rule>
<match>
<gi>PHR
<action>
-<start> roman }
-<end> }
+<start> roman }</start>
+<end>}</end>
</rule>
<rule>
<match>
<gi>TU
<action>
-<start> ^.br^
+<start>^.br^</start>
</rule>
<rule>
@@ -1018,176 +993,175 @@ ${CA}.^
<match>
<gi>EPS
<action>
-<start> ^.if t .PSPIC ${FILE}
-.if n .sp 4^
+<start>^.if t .PSPIC ${FILE}
+.if n .sp 4^</start>
</rule>
<rule>
<match>
<gi>PH
<action>
-<start> ^.sp ${VSPACE}^
+<start>^.sp ${VSPACE}^</start>
</rule>
<rule>
<match>
<gi>CAPTION
<action>
-<start> ^.sp
-.ce^
+<start>^.sp
+.ce^</start>
</rule>
<rule>
<match>
<gi>TABLE
<action>
-<start> ^.DF
-.R^
-<end> ^.DE^
+<start>^.DF
+.R^</start>
+<end>^.DE^</end>
</rule>
<rule>
<match>
<gi>TABULAR
<action>
-<start> ^.TS
+<start>^.TS
center, tab(|) ;
-${CA}.^
-<end> ^.TE^
+${CA}.^</start>
+<end>^.TE^</end>
</rule>
<rule>
<match>
<gi>ROWSEP
<action>
-<start>
-^
+<start>^</start>
</rule>
<rule>
<match>
<gi>COLSEP
<action>
-<start> |
+<start>|</start>
</rule>
<rule>
<match>
<gi>HLINE
<action>
-<start> ^_^
+<start>^_^</start>
</rule>
<rule>
<match>
<gi>SLIDES
<action>
-<start> ^.nr PS 18^
+<start>^.nr PS 18^</start>
</rule>
<rule>
<match>
<gi>SLIDE
<action>
-<end> ^.bp
-\&^
+<end>^.bp
+\&^</end>
</rule>
<rule>
<match>
<gi>LETTER
<action>
-<start> ^.nf^
-<end> ^
+<start>^.nf^</start>
+<end>^</end>
</rule>
<rule>
<match>
<gi>FROM
<action>
-<start> ^From:
+<start>^From: </start>
</rule>
<rule>
<match>
<gi>TO
<action>
-<start> ^To:
+<start>^To: </start>
</rule>
<rule>
<match>
<gi>ADDRESS
<action>
-<start> ^.de Ad
-<end> ^..^
+<start>^.de Ad</start>
+<end>^..^</end>
</rule>
<rule>
<match>
<gi>EMAIL
<action>
-<start> <
-<end> >
+<start><</start>
+<end>></end>
</rule>
<rule>
<match>
<gi>SUBJECT
<action>
-<start> ^Subject:
+<start>^Subject: </start>
</rule>
<rule>
<match>
<gi>SREF
<action>
-<start> ^Sref:
+<start>^Sref: </start>
</rule>
<rule>
<match>
<gi>RREF
<action>
-<start> ^In-Reply-To:
+<start>^In-Reply-To: </start>
</rule>
<rule>
<match>
<gi>CC
<action>
-<start> ^cc:
+<start>^cc: </start>
</rule>
<rule>
<match>
<gi>OPENING
<action>
-<start> ^.fi
-.LP^
+<start>^.fi
+.LP^</start>
</rule>
<rule>
<match>
<gi>CLOSING
<action>
-<start> ^.LP^
+<start>^.LP^</start>
</rule>
<rule>
<match>
<gi>ENCL
<action>
-<start> ^.XP
-encl:
+<start>^.XP
+encl: </start>
</rule>
<rule>
<match>
<gi>PS
<action>
-<start> ^.LP
-p.s.
+<start>^.LP
+p.s.</start>
</rule>
<!-- Pass the content through -->
diff --git a/share/sgml/transpec/transpec.dtd b/share/sgml/transpec/transpec.dtd
index bcb1e50..69075de 100644
--- a/share/sgml/transpec/transpec.dtd
+++ b/share/sgml/transpec/transpec.dtd
@@ -1,6 +1,6 @@
<!--
- $Id: transpec.dtd,v 1.1.1.1 1996/01/16 05:14:10 jfieber Exp $
+ $Id: transpec.dtd,v 1.1.1.1 1996/09/08 02:37:40 jfieber Exp $
Copyright (C) 1996
John R. Fieber. All rights reserved.
@@ -87,11 +87,11 @@ character and data mapping.
<!ELEMENT action - o (do | end | ignore | incr | message | replace
| quit | set | start)+>
<!ELEMENT do - o (#PCDATA)>
-<!ELEMENT end - o (#PCDATA)>
+<!ELEMENT end - - (#PCDATA)>
<!ELEMENT ignore - o (#PCDATA)>
<!ELEMENT incr - o (#PCDATA)>
<!ELEMENT message - o (#PCDATA)>
-<!ELEMENT replace - o (#PCDATA)>
+<!ELEMENT replace - - (#PCDATA)>
<!ELEMENT quit - o (#PCDATA)>
<!ELEMENT set - o (#PCDATA)>
-<!ELEMENT start - o (#PCDATA)>
+<!ELEMENT start - - (#PCDATA)>
OpenPOWER on IntegriCloud