diff options
author | John Fieber <jfieber@FreeBSD.org> | 1996-12-17 01:48:33 +0000 |
---|---|---|
committer | John Fieber <jfieber@FreeBSD.org> | 1996-12-17 01:48:33 +0000 |
commit | 743d0aa7cf7c48fec70258f793abcdbf47d27f9a (patch) | |
tree | 11d7e20c01fb9efb390d743713896dde107becae /share/sgml | |
parent | a36f769f47060acc982d2d8fe235e21fde26b4f5 (diff) | |
download | src-743d0aa7cf7c48fec70258f793abcdbf47d27f9a.tar.gz src-743d0aa7cf7c48fec70258f793abcdbf47d27f9a.zip |
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
Notes
Notes:
svn path=/head/; revision=20577
Diffstat (limited to 'share/sgml')
-rw-r--r-- | share/sgml/transpec/docbook-html.ts | 344 | ||||
-rw-r--r-- | share/sgml/transpec/linuxdoc-html.ts | 476 | ||||
-rw-r--r-- | share/sgml/transpec/linuxdoc-latex.ts | 272 | ||||
-rw-r--r-- | share/sgml/transpec/linuxdoc-roff.ts | 434 | ||||
-rw-r--r-- | share/sgml/transpec/transpec.dtd | 8 |
5 files changed, 700 insertions, 834 deletions
diff --git a/share/sgml/transpec/docbook-html.ts b/share/sgml/transpec/docbook-html.ts index 185030b18b82..d3cb25ccb081 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><P ALIGN="CENTER"><STRONG>Abstract</STRONG></P> <BLOCKQUOTE> -${_attval ID &r.astart;} +${_attval ID &r.astart;}</start> <end>^${_attval ID &r.aend;} -</BLOCKQUOTE>^ +</BLOCKQUOTE>^</end> </rule> <rule> @@ -122,7 +122,7 @@ ${_attval ID &r.astart;} <match> <gi>AFFILIATION <action> -<start><BR> +<start><BR></start> </rule> <rule> @@ -164,7 +164,7 @@ ${_attval ID &r.astart;} <match> <gi>AUTHOR <action> -<start>^<P> +<start>^<P></start> <!-- <end></P>^ --> </rule> @@ -213,9 +213,9 @@ ${_attval ID &r.astart;} <gi>BLOCKQUOTE <action> <start>^<BLOCKQUOTE> -${_attval ID &r.astart;}^ +${_attval ID &r.astart;}^</start> <end>^${_attval ID &r.aend;} -</BLOCKQUOTE>^ +</BLOCKQUOTE>^</end> </rule> <rule> @@ -224,15 +224,15 @@ ${_attval ID &r.astart;}^ <action> <start>^<!-- Generated on ${date} using ${transpec} --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> -<HTML><TITLE>${_followrel descendant TITLE &r.pass;}</TITLE><BODY>^ -<end>^</BODY></HTML> +<HTML><TITLE>${_followrel descendant TITLE &r.pass;}</TITLE><BODY>^</start> +<end>^</BODY></HTML></end> </rule> <rule> <match> <gi>BOOKBIBLIO <action> -<start>^<H1>${_followrel child TITLE &r.pass;}</H1> +<start>^<H1>${_followrel child TITLE &r.pass;}</H1></start> </rule> <rule> @@ -244,8 +244,8 @@ ${_attval ID &r.astart;}^ <match> <gi>BRIDGEHEAD <action> -<start>^<H4><EM> -<end></EM></H4>^ +<start>^<H4><EM></start> +<end></EM></H4>^</end> </rule> <rule> @@ -260,8 +260,8 @@ ${_attval ID &r.astart;}^ <gi>CHAPTER <action> <start>^<!-- Start CHAPTER ${chapnum} (${ID}): -${_followrel child TITLE &r.pass;} -->^ -<end>^<!-- End CHAPTER -->^ +${_followrel child TITLE &r.pass;} -->^</start> +<end>^<!-- End CHAPTER -->^</end> <incr>chapnum <set>sect1num 1 </rule> @@ -270,16 +270,16 @@ ${_followrel child TITLE &r.pass;} -->^ <match> <gi>CITATION <action> -<start><CITE> -<end></CITE> +<start><CITE></start> +<end></CITE></end> </rule> <rule> <match> <gi>CITEREFENTRY <action> -<start><TT> -<end></TT> +<start><TT></start> +<end></TT></end> </rule> <rule> @@ -331,8 +331,8 @@ ${_followrel child TITLE &r.pass;} -->^ <match> <gi>COMPUTEROUTPUT <action> -<start><CODE> -<end></CODE> +<start><CODE></start> +<end></CODE></end> </rule> <rule> @@ -427,16 +427,16 @@ ${_followrel child TITLE &r.pass;} -->^ <match> <gi>EMAIL <action> -<start><A HREF="mailto:${_action &r.pass;}"> -<end></A> +<start><A HREF="mailto:${_action &r.pass;}"></start> +<end></A></end> </rule> <rule> <match> <gi>EMPHASIS <action> -<start><EM> -<end></EM> +<start><EM></start> +<end></EM></end> </rule> <rule> @@ -444,16 +444,16 @@ ${_followrel child TITLE &r.pass;} -->^ <gi>ENTRY <context>ROW THEAD <action> -<start>^<TH> -<end></TH>^ +<start>^<TH></start> +<end></TH>^</end> </rule> <rule> <match> <gi>ENTRY <action> -<start>^<TD> -<end></TD>^ +<start>^<TD></start> +<end></TD>^</end> </rule> <rule> @@ -471,8 +471,8 @@ ${_followrel child TITLE &r.pass;} -->^ <gi>EQUATION <action> <start>^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${eqnum}:</STRONG> -${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ -<end>^<HR>^ +${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start> +<end>^<HR>^</end> <incr>eqnum </rule> @@ -491,8 +491,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>EXAMPLE <action> <start>^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${exnum}:</STRONG> -${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ -<end>^<HR>^ +${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start> +<end>^<HR>^</end> <incr>exnum </rule> @@ -506,8 +506,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>FIGURE <action> <start>^<HR>${_attval ID &r.astart;}<STRONG>${_gi M} ${fignum}:</STRONG> -${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ -<end>^<HR>^ +${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^</start> +<end>^<HR>^</end> <incr>fignum </rule> @@ -515,24 +515,24 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>FILENAME <action> -<start><B> -<end></B> +<start><B></start> +<end></B></end> </rule> <rule> <match> <gi>FIRSTNAME <action> -<start>^ -<end>^ +<start>^</start> +<end>^</end> </rule> <rule> <match> <gi>FIRSTTERM <action> -<start><STRONG> -<end></STRONG> +<start><STRONG></start> +<end></STRONG></end> </rule> <rule> @@ -549,8 +549,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>FOREIGNPHRASE <action> -<start><EM> -<end></EM> +<start><EM></start> +<end></EM></end> </rule> <rule> @@ -588,16 +588,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>GLOSSARY <action> <start><H1>${_find gi TITLE &r.pass;}</H1> -<DL>^ -<end></DL> +<DL>^</start> +<end></DL></end> </rule> <rule> <match> <gi>GLOSSDEF <action> -<start><DD> -<end></DD>^ +<start><DD></start> +<end></DD>^</end> </rule> <rule> @@ -629,15 +629,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>GLOSSTERM <action> -<start>^<DT><STRONG> -<end></STRONG></DT> +<start>^<DT><STRONG></start> +<end></STRONG></DT></end> </rule> <rule> <match> <gi>GRAPHIC <action> -<replace>^<P><A HREF="${_filename}">[image]</A></P>^ +<replace>^<P><A HREF="${_filename}">[image]</A></P>^</replace> </rule> <rule> @@ -708,8 +708,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>INFORMALTABLE <action> -<start>^<TABLE>^ -<end>^</TABLE>^ +<start>^<TABLE>^</start> +<end>^</TABLE>^</end> </rule> <rule> @@ -758,17 +758,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <context>PARA <action> <start></P> -<UL>^ +<UL>^</start> <end>^</UL> -<P> +<P></end> </rule> <rule> <match> <gi>ITEMIZEDLIST <action> -<start>^<UL>^ -<end>^</UL>^ +<start>^<UL>^</start> +<end>^</UL>^</end> </rule> <rule> @@ -805,8 +805,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>LINEANNOTATION <action> -<start><EM> -<end></EM> +<start><EM></start> +<end></EM></end> </rule> <rule> @@ -819,16 +819,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>LISTITEM <context>VARLISTENTRY <action> -<start>^<DD> -<end></DD>^ +<start>^<DD></start> +<end></DD>^</end> </rule> <rule> <match> <gi>LISTITEM <action> -<start>^<LI> -<end></LI>^ +<start>^<LI></start> +<end></LI>^</end> </rule> <rule> @@ -841,8 +841,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>LITERAL <action> -<start><CODE> -<end></CODE> +<start><CODE></start> +<end></CODE></end> </rule> <rule> @@ -851,17 +851,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <context>PARA <action> <start></P> -<PRE>^ +<PRE>^</start> <end>^</PRE> -<P> +<P></end> </rule> <rule> <match> <gi>LITERALLAYOUT <action> -<start>^<PRE> -<end>^</PRE> +<start>^<PRE></start> +<end>^</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>^<LI> -<end></LI>^ +<start>^<LI></start> +<end></LI>^</end> </rule> <rule> @@ -993,17 +993,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <context>PARA <action> <start></P> -<OL>^ +<OL>^</start> <end>^</OL> -<P> +<P></end> </rule> <rule> <match> <gi>ORDEREDLIST <action> -<start>^<OL>^ -<end>^</OL>^ +<start>^<OL>^</start> +<end>^</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>^<P> -<end></P> +<start>^<P></start> +<end></P></end> </rule> <rule> @@ -1055,7 +1055,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>PARA <action> -<start>^<P> +<start>^<P></start> <!-- <end></P> --> </rule> @@ -1135,17 +1135,17 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <context>PARA <action> <start></P> -<BLOCKQUOTE><PRE>^ +<BLOCKQUOTE><PRE>^</start> <end>^</PRE></BLOCKQUOTE> -<P> +<P></end> </rule> <rule> <match> <gi>PROGRAMLISTING <action> -<start>^<PRE>^ -<end>^</PRE>^ +<start>^<PRE>^</start> +<end>^</PRE>^</end> </rule> <rule> @@ -1157,8 +1157,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>PUBDATE <action> -<start><P> -<end></P> +<start><P></start> +<end></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>^<!-- Reference Entry --> +<start>^<!-- Reference Entry --></start> </rule> <rule> @@ -1211,8 +1211,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>REFENTRYTITLE <action> -<start><HR><H2>${_followrel ancestor REFENTRY 4} -<end>${_followrel ancestor REFENTRY 5}</H2> +<start><HR><H2>${_followrel ancestor REFENTRY 4}</start> +<end>${_followrel ancestor REFENTRY 5}</H2></end> </rule> <rule> @@ -1236,8 +1236,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>REFNAME <action> -<start>^<STRONG> -<end>^</STRONG> -^ +<start>^<STRONG></start> +<end>^</STRONG> -^</end> </rule> <rule> @@ -1245,8 +1245,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>REFNAMEDIV <action> <start> ^<H3>Name</H3> -<P> -<end>^</P>^ +<P></start> +<end>^</P>^</end> </rule> <rule> @@ -1283,8 +1283,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>REPLACEABLE <action> -<start><i> -<end></i> +<start><i></start> +<end></i></end> </rule> <rule> @@ -1316,8 +1316,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>ROW <action> -<start>^<TR valign="top">^ -<end>^</TR>^ +<start>^<TR valign="top">^</start> +<end>^</TR>^</end> </rule> <rule> @@ -1456,8 +1456,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class PARAMENTITY <action> -<start><CODE>% -<end></CODE> +<start><CODE>%</start> +<end></CODE></end> </rule> <rule> @@ -1465,8 +1465,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class GENENTITY <action> -<start><CODE>& -<end>;</CODE> +<start><CODE>&</start> +<end>;</CODE></end> </rule> <rule> @@ -1474,8 +1474,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class STARTTAG <action> -<start><CODE>&lt; -<end>></CODE> +<start><CODE>&lt;</start> +<end>></CODE></end> </rule> <rule> @@ -1483,8 +1483,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class ENDTAG <action> -<start><CODE>&lt;/ -<end>></CODE> +<start><CODE>&lt;/</start> +<end>></CODE></end> </rule> <rule> @@ -1492,8 +1492,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class PI <action> -<start><CODE>&lt;? -<end>></CODE> +<start><CODE>&lt;?</start> +<end>></CODE></end> </rule> <rule> @@ -1501,8 +1501,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <gi>SGMLTAG <attval>class PI <action> -<start><CODE>&lt;-- -<end>--&lt;/CODE> +<start><CODE>&lt;--</start> +<end>--&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><CODE>&lt; -<end>&gt;</CODE> +<start><CODE>&lt;</start> +<end>&gt;</CODE></end> </rule> @@ -1537,8 +1537,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>SIMPLELIST <action> -<start>^<UL>^ -<end>^</UL>^ +<start>^<UL>^</start> +<end>^</UL>^</end> </rule> <rule> @@ -1585,8 +1585,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}^ <match> <gi>SUBTITLE <action> -<start>^<P><EM> -<end></EM></P>^ +<start>^<P><EM></start> +<end></EM></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></P> -<BLOCKQUOTE><PRE>^ +<BLOCKQUOTE><PRE>^</start> <end>^</PRE></BLOCKQUOTE> -<P> +<P></end> </rule> <rule> <match> <gi>SYNOPSIS <action> -<start>^<PRE>^ -<end>^</PRE>^ +<start>^<PRE>^</start> +<end>^</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;}<STRONG>${_gi M} ${tabnum}:</STRONG> -${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE>^ -<end>^</TABLE>^ +${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE>^</start> +<end>^</TABLE>^</end> <incr>tabnum </rule> @@ -1657,8 +1657,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE>^ <gi>TABLE <action> <start>^${_attval ID &r.astart;}<STRONG>${_gi M} ${tabnum}:</STRONG> -${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border">^ -<end>^</TABLE>^ +${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border">^</start> +<end>^</TABLE>^</end> <incr>tabnum </rule> @@ -1671,8 +1671,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <match> <gi>TERM <action> -<start>^<DT> -<end></DT>^ +<start>^<DT></start> +<end></DT>^</end> </rule> <rule> @@ -1714,8 +1714,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>PREFACE <action> -<start>^<H1> -<end></H1>^ +<start>^<H1></start> +<end></H1>^</end> </rule> <rule> @@ -1724,8 +1724,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <context>SECT1 <relation>ancestor PREFACE <action> -<start>^<H2> -<end></H2>^ +<start>^<H2></start> +<end></H2>^</end> </rule> <rule> @@ -1734,8 +1734,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <context>SECT2 <relation>ancestor PREFACE <action> -<start>^<H3> -<end></H3>^ +<start>^<H3></start> +<end></H3>^</end> </rule> <rule> @@ -1744,8 +1744,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <context>SECT3 <relation>ancestor PREFACE <action> -<start>^<H4> -<end></H4>^ +<start>^<H4></start> +<end></H4>^</end> </rule> <!-- Title in bookbiblio --> @@ -1765,8 +1765,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>CHAPTER <action> -<start>^<H1>${_followrel parent CHAPTER 4}Chapter ${chapnum}:<BR>^ -<end>${_followrel parent CHAPTER 5}</H1>^ +<start>^<H1>${_followrel parent CHAPTER 4}Chapter ${chapnum}:<BR>^</start> +<end>${_followrel parent CHAPTER 5}</H1>^</end> </rule> <rule> @@ -1774,8 +1774,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>^REF.* <action> -<start>^<H3> -<end>^</H3> +<start>^<H3></start> +<end>^</H3></end> </rule> <rule> @@ -1783,8 +1783,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>SECT1 <action> -<start>^<H2>${_followrel parent SECT1 4}${chapnum}.${sect1num}^ -<end>${_followrel parent SECT1 5}</H2>^ +<start>^<H2>${_followrel parent SECT1 4}${chapnum}.${sect1num}^</start> +<end>${_followrel parent SECT1 5}</H2>^</end> </rule> <rule> @@ -1792,8 +1792,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>SECT2 <action> -<start>^<H3>${_followrel parent SECT2 4}${chapnum}.${sect1num}.${sect2num}^ -<end>${_followrel parent SECT2 5}</H3>^ +<start>^<H3>${_followrel parent SECT2 4}${chapnum}.${sect1num}.${sect2num}^</start> +<end>${_followrel parent SECT2 5}</H3>^</end> </rule> <rule> @@ -1801,8 +1801,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>SECT3 <action> -<start>^<H4>${_followrel parent SECT3 4}${chapnum}.${sect1num}.${sect2num}.${sect3num}^ -<end>${_followrel parent SECT1 5}</H4>^ +<start>^<H4>${_followrel parent SECT3 4}${chapnum}.${sect1num}.${sect2num}.${sect3num}^</start> +<end>${_followrel parent SECT1 5}</H4>^</end> </rule> <rule> @@ -1810,8 +1810,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>SECT4 <action> -<start>^<H4>${_followrel parent SECT4 4} -<end>${_followrel parent SECT4 5}</H4>^ +<start>^<H4>${_followrel parent SECT4 4}</start> +<end>${_followrel parent SECT4 5}</H4>^</end> </rule> <rule> @@ -1819,8 +1819,8 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>TITLE <context>SECT5 <action> -<start>^<H4>${_followrel parent SECT5 4} -<end>${_followrel parent SECT5 5}</H4>^ +<start>^<H4>${_followrel parent SECT5 4}</start> +<end>${_followrel parent SECT5 5}</H4>^</end> </rule> <rule> @@ -1917,7 +1917,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<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;}<TABLE border="border <match> <gi>ULINK <action> -<start><A href="${URL}"> -<end></A> +<start><A href="${URL}"></start> +<end></A></end> </rule> <rule> <match> <gi>USERINPUT <action> -<start><B> -<end></B> +<start><B></start> +<end></B></end> </rule> <rule> @@ -1951,16 +1951,16 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>VARIABLELIST <context>PARA <action> -<start></P>^<DL>^ -<end>^</DL>^<P> +<start></P>^<DL>^</start> +<end>^</DL>^<P></end> </rule> <rule> <match> <gi>VARIABLELIST <action> -<start>^<DL>^ -<end>^</DL>^ +<start>^<DL>^</start> +<end>^</DL>^</end> </rule> <rule> @@ -1994,15 +1994,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <match> <gi>XREF <action> -<replace><A HREF="#${LINKEND}"><EM>${_chasetogi TITLE &r.pass}</EM></A> +<replace><A HREF="#${LINKEND}"><EM>${_chasetogi TITLE &r.pass}</EM></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;}<TABLE border="border <match> <gi>_name <action> -<start><A NAME="${ID id}"> +<start><A NAME="${ID id}"></start> <ignore>all </rule> @@ -2024,7 +2024,7 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <match> <gi>_name-end <action> -<start></A> +<start></A></start> <ignore>all </rule> @@ -2032,14 +2032,14 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<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;}<TABLE border="border <gi>_admonition <action> <start>^<TABLE border="border"> - <TR><TD><P align="center"><STRONG>${_attval ID &r.astart;}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}</STRONG></P>^ -<end>^</TD></TR></TABLE>^ + <TR><TD><P align="center"><STRONG>${_attval ID &r.astart;}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}</STRONG></P>^</start> +<end>^</TD></TR></TABLE>^</end> </rule> <rule id="&r.admonb;"> @@ -2063,15 +2063,15 @@ ${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}<TABLE border="border <gi>_admonition <action> <start>^<TABLE border="border"> - <TR><TD>^ -<end>^</TD></TR></TABLE>^ + <TR><TD>^</start> +<end>^</TD></TR></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;}<TABLE border="border <match> <gi>_Start <action> -<start>^<!-- Magic _Start GI -->^ +<start>^<!-- Magic _Start GI -->^</start> </rule> <rule> <match> <gi>_End <action> -<start>^<!-- Magic _End GI -->^ +<start>^<!-- Magic _End GI -->^</start> </rule> </transpec> diff --git a/share/sgml/transpec/linuxdoc-html.ts b/share/sgml/transpec/linuxdoc-html.ts index ba4ca01a8ac3..3aa32c32a9a1 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>^<@@title> - <end> + <start>^<@@title></start> </rule> <rule> <match> <gi>SUBTITLE <action> - <start>^<h2> - <end></h2>^ + <start>^<h2></start> + <end></h2>^</end> </rule> <rule> <match> <gi>DATE -<action> -<start> </rule> <rule> <match> <gi>AUTHOR -<action> - <start> - <end> </rule> <rule> <match> <gi>NAME <action> - <start>^<h2> - <end></h2> + <start>^<h2></start> + <end></h2></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>^<h3> - <end></h3>^ + <start>^<h3></start> + <end></h3>^</end> </rule> <rule> <match> <gi>NEWLINE <action> - <start><br> + <start><br></start> </rule> <rule> <match> <gi>LABEL <action> - <start>^<@@label>${ID}^ + <start>^<@@label>${ID}^</start> </rule> <rule> <match> <gi>HEADER -<action> - <start> - <end> </rule> <rule> <match> <gi>LHEAD <action> - <start>^<!-- - <end>-->^ + <start>^<!-- </start> + <end>-->^</end> </rule> <rule> <match> <gi>RHEAD <action> - <start>^<!-- - <end>-->^ + <start>^<!-- </start> + <end>-->^</end> </rule> <rule> <match> <gi>COMMENT <action> - <start>^<h4>Comment</h4>^ - <end> + <start>^<h4>Comment</h4>^</start> </rule> <rule> <match> <gi>ABSTRACT <action> - <start>^<p><hr><em> - <end></em><hr></p>^ + <start>^<p><hr><em></start> + <end></em><hr></p>^</end> </rule> <rule> <match> <gi>APPENDIX <action> - <start>^<h2>Appendix</h2>^ - <end> + <start>^<h2>Appendix</h2>^</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>^<@@part> - <end> + <start>^<@@part></start> </rule> <rule> <match> <gi>CHAPT <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>SECT <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>SECT1 <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>SECT2 <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>SECT3 <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>SECT4 <action> - <start>^<@@sect> - <end>^<@@endsect>^ + <start>^<@@sect></start> + <end>^<@@endsect>^</end> </rule> <rule> <match> <gi>HEADING <action> - <start>^<@@head> - <end>^<@@endhead>^ + <start>^<@@head></start> + <end>^<@@endhead>^</end> </rule> <rule> <match> <gi>P <action> - <start><p> - <end></p>^ + <start><p></start> + <end></p>^</end> </rule> <rule> <match> <gi>ITEMIZE <action> - <start>^<ul>^ - <end>^</ul>^ + <start>^<ul>^</start> + <end>^</ul>^</end> </rule> <rule> <match> <gi>ENUM <action> - <start>^<ol>^ - <end>^</ol>^ + <start>^<ol>^</start> + <end>^</ol>^</end> </rule> <rule> <match> <gi>DESCRIP <action> - <start>^<dl>^ - <end>^</dl>^ + <start>^<dl>^</start> + <end>^</dl>^</end> </rule> <rule> <match> <gi>ITEM <action> - <start>^<li> - <end></li>^ + <start>^<li></start> + <end></li>^</end> </rule> <rule> <match> <gi>TAG <action> - <start><dt><b> - <end></b><dd> + <start><dt><b></start> + <end></b><dd></end> </rule> <rule> <match> <gi>CITE <action> - <start>[<i>${ID}</i>] - <end> + <start>[<i>${ID}</i>]</start> </rule> <rule> <match> <gi>NCITE <action> - <start>[<i>${NOTE} (${ID})</i>] - <end> + <start>[<i>${NOTE} (${ID})</i>]</start> </rule> <rule> <match> <gi>FOOTNOTE <action> - <start>^<sl> - <end></sl>^ + <start>^<sl></start> + <end></sl>^</end> </rule> <rule> <match> <gi>SQ <action> - <start>" - <end>" + <start>"</start> + <end>"</end> </rule> <rule> <match> <gi>LQ <action> - <start>^<LQ>^ - <end>^</LQ>^ + <start>^<LQ>^</start> + <end>^</LQ>^</end> </rule> <rule> <match> <gi>EM <action> - <start><em> - <end></em> + <start><em></start> + <end></em></end> </rule> <rule> <match> <gi>BF <action> - <start><b> - <end></b> + <start><b></start> + <end></b></end> </rule> <rule> <match> <gi>IT <action> - <start><i> - <end></i> + <start><i></start> + <end></i></end> </rule> <rule> <match> <gi>SF <action> - <start><SF> - <end></SF> + <start><SF></start> + <end></SF></end> </rule> <rule> <match> <gi>SL <action> - <start><i> - <end></i> + <start><i></start> + <end></i></end> </rule> <rule> <match> <gi>TT <action> - <start><code> - <end></code> + <start><code></start> + <end></code></end> </rule> <rule> @@ -470,14 +423,14 @@ <gi>URL HTMLURL <attval>NAME . <action> - <start><A href="${URL}">${NAME}</A> + <start><A href="${URL}">${NAME}</A></start> </rule> <rule> <match> <gi>URL HTMLURL <action> - <start><A href="${URL}">${URL}</A> + <start><A href="${URL}">${URL}</A></start> </rule> <rule> @@ -485,587 +438,568 @@ <gi>REF <attval>NAME . <action> - <start> -^<@@ref>${ID} -${NAME}</A> + <start>^<@@ref>${ID} +${NAME}</A></start> </rule> <rule> <match> <gi>REF <action> - <start> -^<@@ref>${ID} -${ID}</A> + <start>^<@@ref>${ID} +${ID}</A></start> </rule> <rule> <match> <gi>HREF <action> - <start>^<@@ref>${ID}^ - <end> + <start>^<@@ref>${ID}^</start> </rule> <rule> <match> <gi>PAGEREF <action> - <start>^<@@ref>${ID}^ - <end> + <start>^<@@ref>${ID}^</start> </rule> <rule> <match> <gi>X -<action> - <start> - <end> </rule> <rule> <match> <gi>MC <action> - <start><MC> - <end></MC> + <start><MC></start> + <end></MC></end> </rule> <rule> <match> <gi>BIBLIO <action> - <start>^<BIBLIO STYLE="${STYLE}" FILES="${FILES}">^ - <end> + <start>^<BIBLIO STYLE="${STYLE}" FILES="${FILES}">^</start> </rule> <rule> <match> <gi>CODE <action> - <start>^<hr><pre>^ - <end>^</pre><hr>^ + <start>^<hr><pre>^</start> + <end>^</pre><hr>^</end> </rule> <rule> <match> <gi>VERB <action> - <start>^<pre>^ - <end>^</pre>^ + <start>^<pre>^</start> + <end>^</pre>^</end> </rule> <rule> <match> <gi>TSCREEN <action> - <start>^<blockquote><code>^ - <end>^</code></blockquote>^ + <start>^<blockquote><code>^</start> + <end>^</code></blockquote>^</end> </rule> <rule> <match> <gi>QUOTE <action> - <start>^<blockquote>^ - <end>^</blockquote>^ + <start>^<blockquote>^</start> + <end>^</blockquote>^</end> </rule> <rule> <match> <gi>DEF <action> - <start>^<DEF> - <end>^</DEF>^ + <start>^<DEF></start> + <end>^</DEF>^</end> </rule> <rule> <match> <gi>PROP <action> - <start>^<PROP> - <end>^</PROP>^ + <start>^<PROP></start> + <end>^</PROP>^</end> </rule> <rule> <match> <gi>LEMMA <action> - <start>^<LEMMA> - <end>^</LEMMA>^ + <start>^<LEMMA></start> + <end>^</LEMMA>^</end> </rule> <rule> <match> <gi>COROLL <action> - <start>^<COROLL> - <end>^</COROLL>^ + <start>^<COROLL></start> + <end>^</COROLL>^</end> </rule> <rule> <match> <gi>PROOF <action> - <start>^<PROOF> - <end>^</PROOF>^ + <start>^<PROOF></start> + <end>^</PROOF>^</end> </rule> <rule> <match> <gi>THEOREM <action> - <start>^<THEOREM> - <end>^</THEOREM>^ + <start>^<THEOREM></start> + <end>^</THEOREM>^</end> </rule> <rule> <match> <gi>THTAG <action> - <start><THTAG> - <end></THTAG> + <start><THTAG></start> + <end></THTAG></end> </rule> <rule> <match> <gi>F <action> - <start><F> - <end></F> + <start><F></start> + <end></F></end> </rule> <rule> <match> <gi>DM <action> - <start>^<DM>^ - <end>^</DM>^ + <start>^<DM>^</start> + <end>^</DM>^</end> </rule> <rule> <match> <gi>EQ <action> - <start>^<EQ>^ - <end>^</EQ>^ + <start>^<EQ>^</start> + <end>^</EQ>^</end> </rule> <rule> <match> <gi>FR <action> - <start><FR> - <end></FR> + <start><FR></start> + <end></FR></end> </rule> <rule> <match> <gi>NU <action> - <start><NU> - <end></NU> + <start><NU></start> + <end></NU></end> </rule> <rule> <match> <gi>DE <action> - <start><DE> - <end></DE> + <start><DE></start> + <end></DE></end> </rule> <rule> <match> <gi>LIM <action> - <start><LIM> - <end></LIM> + <start><LIM></start> + <end></LIM></end> </rule> <rule> <match> <gi>OP <action> - <start><OP> - <end></OP> + <start><OP></start> + <end></OP></end> </rule> <rule> <match> <gi>LL <action> - <start><LL> - <end></LL> + <start><LL></start> + <end></LL></end> </rule> <rule> <match> <gi>UL <action> - <start><UL> - <end></UL> + <start><UL></start> + <end></UL></end> </rule> <rule> <match> <gi>OPD <action> - <start><OPD> - <end></OPD> + <start><OPD></start> + <end></OPD></end> </rule> <rule> <match> <gi>PR <action> - <start><PR> - <end></PR> + <start><PR></start> + <end></PR></end> </rule> <rule> <match> <gi>IN <action> - <start><INT> - <end></INT> + <start><INT></start> + <end></INT></end> </rule> <rule> <match> <gi>SUM <action> - <start><SUM> - <end></SUM> + <start><SUM></start> + <end></SUM></end> </rule> <rule> <match> <gi>ROOT <action> - <start><ROOT> - <end></ROOT> + <start><ROOT></start> + <end></ROOT></end> </rule> <rule> <match> <gi>AR <action> - <start><AR> - <end></AR> + <start><AR></start> + <end></AR></end> </rule> <rule> <match> <gi>ARR <action> - <start><ARR> - <end> + <start><ARR></start> </rule> <rule> <match> <gi>ARC <action> - <start><ARC> - <end> + <start><ARC></start> </rule> <rule> <match> <gi>SUP <action> - <start><SUP> - <end></SUP> + <start><SUP></start> + <end></SUP></end> </rule> <rule> <match> <gi>INF <action> - <start><INF> - <end></INF> + <start><INF></start> + <end></INF></end> </rule> <rule> <match> <gi>UNL <action> - <start><UNL> - <end></UNL> + <start><UNL></start> + <end></UNL></end> </rule> <rule> <match> <gi>OVL <action> - <start><OVL> - <end></OVL> + <start><OVL></start> + <end></OVL></end> </rule> <rule> <match> <gi>RF <action> - <start><RF> - <end></RF> + <start><RF></start> + <end></RF></end> </rule> <rule> <match> <gi>V <action> - <start><V> - <end></V> + <start><V></start> + <end></V></end> </rule> <rule> <match> <gi>FI <action> - <start><FI> - <end></FI> + <start><FI></start> + <end></FI></end> </rule> <rule> <match> <gi>PHR <action> - <start><PHR> - <end></PHR> + <start><PHR></start> + <end></PHR></end> </rule> <rule> <match> <gi>TU <action> - <start><TU> - <end> + <start><TU></start> </rule> <rule> <match> <gi>FIGURE <action> - <start>^<FIGURE>^ - <end>^</FIGURE>^ + <start>^<FIGURE>^</start> + <end>^</FIGURE>^</end> </rule> <rule> <match> <gi>EPS <action> - <start>^<EPS FILE="${FILE}">^ - <end> + <start>^<EPS FILE="${FILE}">^</start> </rule> <rule> <match> <gi>PH <action> - <start>^<PH VSPACE="${VSPACE}">^ - <end> + <start>^<PH VSPACE="${VSPACE}">^</start> </rule> <rule> <match> <gi>CAPTION <action> - <start>^<CAPTION> - <end></CAPTION>^ + <start>^<CAPTION></start> + <end></CAPTION>^</end> </rule> <rule> <match> <gi>TABLE <action> - <start>^<TABLE>^ - <end>^</TABLE>^ + <start>^<TABLE>^</start> + <end>^</TABLE>^</end> </rule> <rule> <match> <gi>TABULAR <action> - <start>^<br>^ - <end>^ + <start>^<br>^</start> + <end>^</end> </rule> <rule> <match> <gi>ROWSEP <action> - <start><br>^ - <end> + <start><br>^</start> </rule> <rule> <match> <gi>COLSEP -<action> - <start> - <end> </rule> <rule> <match> <gi>HLINE <action> - <start>^<hr>^ - <end> + <start>^<hr>^</start> </rule> <rule> <match> <gi>SLIDES <action> - <start>^<SLIDES>^ - <end>^</SLIDES>^ + <start>^<SLIDES>^</start> + <end>^</SLIDES>^</end> </rule> <rule> <match> <gi>SLIDE <action> - <start>^<SLIDE>^ - <end>^</SLIDE>^ + <start>^<SLIDE>^</start> + <end>^</SLIDE>^</end> </rule> <rule> <match> <gi>LETTER <action> - <start>^<LETTER OPTS="${OPTS}">^ - <end>^</LETTER>^ + <start>^<LETTER OPTS="${OPTS}">^</start> + <end>^</LETTER>^</end> </rule> <rule> <match> <gi>TELEFAX <action> - <start>^<TELEFAX OPTS="${OPTS}">^ - <end>^</TELEFAX>^ + <start>^<TELEFAX OPTS="${OPTS}">^</start> + <end>^</TELEFAX>^</end> </rule> <rule> <match> <gi>OPENING <action> - <start>^<OPENING> - <end></OPENING>^ + <start>^<OPENING></start> + <end></OPENING>^</end> </rule> <rule> <match> <gi>FROM <action> - <start>^<FROM> - <end>^</FROM>^ + <start>^<FROM></start> + <end>^</FROM>^</end> </rule> <rule> <match> <gi>TO <action> - <start>^<TO> - - <end>^</TO>^ + <start>^<TO></start> + <end>^</TO>^</end> </rule> <rule> <match> <gi>ADDRESS <action> - <start>^<ADDRESS>^ - <end>^</ADDRESS>^ + <start>^<ADDRESS>^</start> + <end>^</ADDRESS>^</end> </rule> <rule> <match> <gi>EMAIL <action> - <start>^<@@email> - <end><@@endemail>^ + <start>^<@@email></start> + <end><@@endemail>^</end> </rule> <rule> <match> <gi>PHONE <action> - <start>^<PHONE> - <end></PHONE>^ + <start>^<PHONE></start> + <end></PHONE>^</end> </rule> <rule> <match> <gi>FAX <action> - <start>^<FAX> - <end></FAX>^ + <start>^<FAX></start> + <end></FAX>^</end> </rule> <rule> <match> <gi>SUBJECT <action> - <start>^<SUBJECT> - <end></SUBJECT>^ + <start>^<SUBJECT></start> + <end></SUBJECT>^</end> </rule> <rule> <match> <gi>SREF <action> - <start>^<SREF> - <end></SREF>^ + <start>^<SREF></start> + <end></SREF>^</end> </rule> <rule> <match> <gi>RREF <action> - <start>^<RREF> - <end></RREF>^ + <start>^<RREF></start> + <end></RREF>^</end> </rule> <rule> <match> <gi>RDATE <action> - <start>^<RDATE> - <end></RDATE>^ + <start>^<RDATE></start> + <end></RDATE>^</end> </rule> <rule> <match> <gi>CLOSING <action> - <start>^<CLOSING> - <end></CLOSING>^ + <start>^<CLOSING></start> + <end></CLOSING>^</end> </rule> <rule> <match> <gi>CC <action> - <start>^<CC> - <end></CC>^ + <start>^<CC></start> + <end></CC>^</end> </rule> <rule> <match> <gi>ENCL <action> - <start>^<ENCL> - <end></ENCL>^ + <start>^<ENCL></start> + <end></ENCL>^</end> </rule> <rule> <match> <gi>PS <action> - <start>^<PS>^ - <end>^</PS>^ + <start>^<PS>^</start> + <end>^</PS>^</end> </transpec> diff --git a/share/sgml/transpec/linuxdoc-latex.ts b/share/sgml/transpec/linuxdoc-latex.ts index ad7511f2ea09..3772b6c6a9bc 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 aa31ae6ff8c8..d253b94afcb1 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<URL:${URL}>\fP .FE -\& +\&</start> </rule> <!-- A URL without a NAME attribute --> @@ -634,14 +615,14 @@ ${ID} <match> <gi>URL <action> -<start> \fC<URL:${URL}>\fP +<start>\fC<URL:${URL}>\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 bcb1e501e394..69075de689d4 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)> |