mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
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
This commit is contained in:
parent
a36f769f47
commit
743d0aa7cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20577
@ -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>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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)>
|
||||
|
Loading…
Reference in New Issue
Block a user