2094 lines
22 KiB
TypeScript
2094 lines
22 KiB
TypeScript
<!--
|
|
|
|
$Id$
|
|
|
|
Copyright (C) 1996
|
|
John R. Fieber. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY JOHN R. FIEBER AND CONTRIBUTORS ``AS IS'' AND
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
ARE DISCLAIMED. IN NO EVENT SHALL JOHN R. FIEBER OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
SUCH DAMAGE.
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
This is an instant(1) translation specification to turn an
|
|
SGML document marked up according to the Docbook DTD into
|
|
HTML.
|
|
|
|
There are <em>many</em> parts of the Docbook DTD that this
|
|
translation does nothing with, however most of the basic
|
|
elements handled.
|
|
|
|
This needs to be structured in such a way that a post-processor
|
|
can split the file into nice sized chunks.
|
|
|
|
-->
|
|
|
|
<!DOCTYPE transpec PUBLIC "-//FreeBSD//DTD transpec//EN" [
|
|
|
|
<!ENTITY lt CDATA "<">
|
|
<!ENTITY gt CDATA ">">
|
|
<!ENTITY amp CDATA "&">
|
|
|
|
<!ENTITY r.pass "1">
|
|
<!ENTITY r.astart "2">
|
|
<!ENTITY r.aend "3">
|
|
<!ENTITY r.ignore "6">
|
|
<!ENTITY r.admona "7">
|
|
<!ENTITY r.admonb "8">
|
|
|
|
<!ENTITY cmap SYSTEM "/usr/share/sgml/transpec/html.cmap">
|
|
<!ENTITY sdata SYSTEM "/usr/share/sgml/transpec/html.sdata">
|
|
|
|
]>
|
|
|
|
<transpec>
|
|
|
|
<!-- Character and SDATA entity mapping -->
|
|
<cmap>&cmap;</cmap>
|
|
<smap>&sdata;</smap>
|
|
|
|
<!-- Transform rules -->
|
|
<var>partnum 1
|
|
<var>chapnum 1
|
|
<var>sect1num 1
|
|
<var>sect2num 1
|
|
<var>sect3num 1
|
|
<var>sect4num 1
|
|
<var>sect5num 1
|
|
<var>subsect 1
|
|
<var>app 1
|
|
<var>exnum 1
|
|
<var>fignum 1
|
|
<var>tabnum 1
|
|
<var>eqnum 1
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ABBREV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ABSTRACT
|
|
<action>
|
|
<start><P ALIGN="CENTER"><STRONG>Abstract</STRONG></P>
|
|
<BLOCKQUOTE>
|
|
${_attval ID &r.astart;}
|
|
<end>^${_attval ID &r.aend;}
|
|
</BLOCKQUOTE>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ACKNO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ACRONYM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ACTION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ADDRESS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>AFFILIATION
|
|
<action>
|
|
<start><BR>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ANCHOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>APPENDIX
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>APPLICATION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ARG
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ARTHEADER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ARTICLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ARTPAGENUMS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>AUTHOR
|
|
<action>
|
|
<start>^<P>
|
|
<!-- <end></P>^ -->
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>AUTHORBLURB
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>AUTHORGROUP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>AUTHORINITIALS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BEGINPAGE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BIBLIODIV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BIBLIOENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BIBLIOGRAPHY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BIBLIOMISC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BLOCKQUOTE
|
|
<action>
|
|
<start>^<BLOCKQUOTE>
|
|
${_attval ID &r.astart;}^
|
|
<end>^${_attval ID &r.aend;}
|
|
</BLOCKQUOTE>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BOOK
|
|
<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>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BOOKBIBLIO
|
|
<action>
|
|
<start>^<H1>${_followrel child TITLE &r.pass;}</H1>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BOOKINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>BRIDGEHEAD
|
|
<action>
|
|
<start>^<H4><EM>
|
|
<end></EM></H4>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CAUTION
|
|
<action>
|
|
<do>&r.admona;
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CHAPTER
|
|
<action>
|
|
<start>^<!-- Start CHAPTER ${chapnum} (${ID}):
|
|
${_followrel child TITLE &r.pass;} -->^
|
|
<end>^<!-- End CHAPTER -->^
|
|
<incr>chapnum
|
|
<set>sect1num 1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CITATION
|
|
<action>
|
|
<start><CITE>
|
|
<end></CITE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CITEREFENTRY
|
|
<action>
|
|
<start><TT>
|
|
<end></TT>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CITETITLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CITY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CLASSNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CMDSYNOPSIS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COLLAB
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COLLABNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COLSPEC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COMMAND
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COMMENT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COMPUTEROUTPUT
|
|
<action>
|
|
<start><CODE>
|
|
<end></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONFDATES
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONFGROUP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONFNUM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONFSPONSOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONFTITLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONTRACTNUM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONTRACTSPONSOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CONTRIB
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COPYRIGHT
|
|
<action>
|
|
<start>^<P>Copyright &copy; </start>
|
|
<!-- <end></P>^ -->
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CORPAUTHOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>CORPNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>COUNTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>DATABASE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>DATE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>DOCINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>EDITION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>EDITOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>EMAIL
|
|
<action>
|
|
<start><A HREF="mailto:${_action &r.pass;}">
|
|
<end></A>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>EMPHASIS
|
|
<action>
|
|
<start><EM>
|
|
<end></EM>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ENTRY
|
|
<context>ROW THEAD
|
|
<action>
|
|
<start>^<TH>
|
|
<end></TH>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ENTRY
|
|
<action>
|
|
<start>^<TD>
|
|
<end></TD>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ENTRYTBL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>EPIGRAPH
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<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>^
|
|
<incr>eqnum
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ERRORNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ERRORTYPE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<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>^
|
|
<incr>exnum
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FAX
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<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>^
|
|
<incr>fignum
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FILENAME
|
|
<action>
|
|
<start><B>
|
|
<end></B>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FIRSTNAME
|
|
<action>
|
|
<start>^
|
|
<end>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FIRSTTERM
|
|
<action>
|
|
<start><STRONG>
|
|
<end></STRONG>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FOOTNOTE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FOOTNOTEREF
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FOREIGNPHRASE
|
|
<action>
|
|
<start><EM>
|
|
<end></EM>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FORMALPARA
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FUNCDEF
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FUNCPARAMS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FUNCSYNOPSIS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FUNCSYNOPSISINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>FUNCTION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSARY
|
|
<action>
|
|
<start><H1>${_find gi TITLE &r.pass;}</H1>
|
|
<DL>^
|
|
<end></DL>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSDEF
|
|
<action>
|
|
<start><DD>
|
|
<end></DD>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSDIV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSLIST
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSSEE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSSEEALSO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GLOSSTERM
|
|
<action>
|
|
<start>^<DT><STRONG>
|
|
<end></STRONG></DT>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GRAPHIC
|
|
<action>
|
|
<replace>^<P><A HREF="${_filename}">[image]</A></P>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>GROUP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>HARDWARE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>HIGHLIGHTS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>HOLDER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>HONORIFIC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>IMPORTANT
|
|
<action>
|
|
<do>&r.admona;
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INDEX
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INDEXDIV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INDEXENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INDEXTERM
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INFORMALEQUATION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INFORMALEXAMPLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INFORMALTABLE
|
|
<action>
|
|
<start>^<TABLE>^
|
|
<end>^</TABLE>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INLINEEQUATION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INLINEGRAPHIC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INTERFACE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INTERFACEDEFINITIONID
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>INVPARTNUMBER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ISBN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ISSN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ISSUENUM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ITEMIZEDLIST
|
|
<context>PARA
|
|
<action>
|
|
<start></P>
|
|
<UL>^
|
|
<end>^</UL>
|
|
<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ITEMIZEDLIST
|
|
<action>
|
|
<start>^<UL>^
|
|
<end>^</UL>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>JOBTITLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>KEYCAP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>KEYCODE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>KEYSYM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LEGALNOTICE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LINEAGE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LINEANNOTATION
|
|
<action>
|
|
<start><EM>
|
|
<end></EM>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LINK
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LISTITEM
|
|
<context>VARLISTENTRY
|
|
<action>
|
|
<start>^<DD>
|
|
<end></DD>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LISTITEM
|
|
<action>
|
|
<start>^<LI>
|
|
<end></LI>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LITERAL
|
|
<context>LITERALLAYOUT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LITERAL
|
|
<action>
|
|
<start><CODE>
|
|
<end></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LITERALLAYOUT
|
|
<context>PARA
|
|
<action>
|
|
<start></P>
|
|
<PRE>^
|
|
<end>^</PRE>
|
|
<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LITERALLAYOUT
|
|
<action>
|
|
<start>^<PRE>
|
|
<end>^</PRE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LOT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>LOTENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MANVOLNUM
|
|
<action>
|
|
<start>(
|
|
<end>)
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MARKUP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MEDIALABEL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MEMBER
|
|
<action>
|
|
<start>^<LI>
|
|
<end></LI>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MODESPEC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSG
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGAUD
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGEXPLAN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGLEVEL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGMAIN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGORIG
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGREL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGSET
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGSUB
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>MSGTEXT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>NOTE
|
|
<action>
|
|
<do>&r.admonb;
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OLINK
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OPTION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OPTIONAL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ORDEREDLIST
|
|
<context>PARA
|
|
<action>
|
|
<start></P>
|
|
<OL>^
|
|
<end>^</OL>
|
|
<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ORDEREDLIST
|
|
<action>
|
|
<start>^<OL>^
|
|
<end>^</OL>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ORGDIV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ORGNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OTHERADDR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OTHERCREDIT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>OTHERNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PAGENUMS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARA
|
|
<context>LISTITEM|VARLISTENTRY|GLOSSDEF
|
|
<action>
|
|
<start>^<P>
|
|
<end></P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARA
|
|
<context>LISTITEM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARA
|
|
<action>
|
|
<start>^<P>
|
|
<!-- <end></P> -->
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARAMDEF
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARAMETER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PART
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PARTINTRO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PHONE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>POB
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>POSTCODE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PREFACE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PRIMARY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PRIMARYIE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PRINTHISTORY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PROCEDURE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PRODUCTNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PRODUCTNUMBER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PROGRAMLISTING
|
|
<context>PARA
|
|
<action>
|
|
<start></P>
|
|
<BLOCKQUOTE><PRE>^
|
|
<end>^</PRE></BLOCKQUOTE>
|
|
<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PROGRAMLISTING
|
|
<action>
|
|
<start>^<PRE>^
|
|
<end>^</PRE>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PROPERTY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PUBDATE
|
|
<action>
|
|
<start><P>
|
|
<end></P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PUBLISHER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PUBLISHERNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>PUBSNUMBER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>QUOTE
|
|
<action>
|
|
<start>``
|
|
<end>''
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFCLASS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFDESCRIPTOR
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFENTRY
|
|
<action>
|
|
<start>^<!-- Reference Entry -->
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFENTRYTITLE
|
|
<context>CITEREFENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFENTRYTITLE
|
|
<action>
|
|
<start><HR><H2>${_followrel ancestor REFENTRY 4}
|
|
<end>${_followrel ancestor REFENTRY 5}</H2>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFERENCE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFMETA
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFMISCINFO
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFNAME
|
|
<action>
|
|
<start>^<STRONG>
|
|
<end>^</STRONG> -^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFNAMEDIV
|
|
<action>
|
|
<start> ^<H3>Name</H3>
|
|
<P>
|
|
<end>^</P>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFPURPOSE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFSECT1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFSECT2
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFSECT3
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REFSYNOPSISDIV
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>RELEASEINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REPLACEABLE
|
|
<action>
|
|
<start><i>
|
|
<end></i>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>RETURNVALUE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REVHISTORY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REVISION
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REVNUMBER
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>REVREMARK
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ROW
|
|
<action>
|
|
<start>^<TR valign="top">^
|
|
<end>^</TR>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SCREEN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SCREENINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SCREENSHOT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECONDARY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECONDARYIE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECT1
|
|
<action>
|
|
<incr>sect1num
|
|
<set>sect2num 1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECT2
|
|
<action>
|
|
<incr>sect2num
|
|
<set>sect3num 1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECT3
|
|
<action>
|
|
<incr>sect3num
|
|
<set>sect4num 1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECT4
|
|
<action>
|
|
<incr>sect4num
|
|
<set>sect5num 1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SECT5
|
|
<action>
|
|
<incr>sect5num
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEEALSO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEEALSOIE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEEIE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEG
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEGLISTITEM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEGMENTEDLIST
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SEGTITLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SERIESINFO
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SERIESVOLNUMS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SET
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SETINDEX
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SETINFO
|
|
</rule>
|
|
|
|
<!-- SGMLTag in its variations -->
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class PARAMENTITY
|
|
<action>
|
|
<start><CODE>%
|
|
<end></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class GENENTITY
|
|
<action>
|
|
<start><CODE>&
|
|
<end>;</CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class STARTTAG
|
|
<action>
|
|
<start><CODE>&lt;
|
|
<end>></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class ENDTAG
|
|
<action>
|
|
<start><CODE>&lt;/
|
|
<end>></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class PI
|
|
<action>
|
|
<start><CODE>&lt;?
|
|
<end>></CODE>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<attval>class PI
|
|
<action>
|
|
<start><CODE>&lt;--
|
|
<end>--&lt;/CODE>
|
|
</rule>
|
|
|
|
<!-- catchall for remaining types of tags -->
|
|
<rule>
|
|
<match>
|
|
<gi>SGMLTAG
|
|
<action>
|
|
<start><CODE>&lt;
|
|
<end>&gt;</CODE>
|
|
</rule>
|
|
|
|
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SHORTAFFIL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SIDEBAR
|
|
<action>
|
|
<do>&r.admonb;
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SIMPARA
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SIMPLELIST
|
|
<action>
|
|
<start>^<UL>^
|
|
<end>^</UL>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SPANSPEC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>STATE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>STEP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>STREET
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>STRUCTFIELD
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>STRUCTNAME
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SUBSCRIPT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SUBSTEPS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SUBTITLE
|
|
<action>
|
|
<start>^<P><EM>
|
|
<end></EM></P>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SUPERSCRIPT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SURNAME
|
|
<action>
|
|
<start>^
|
|
<end>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYMBOL
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYNOPFRAGMENT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYNOPFRAGMENTREF
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYNOPSIS
|
|
<context>PARA
|
|
<action>
|
|
<start></P>
|
|
<BLOCKQUOTE><PRE>^
|
|
<end>^</PRE></BLOCKQUOTE>
|
|
<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYNOPSIS
|
|
<action>
|
|
<start>^<PRE>^
|
|
<end>^</PRE>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>SYSTEMITEM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TABLE
|
|
<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>^
|
|
<incr>tabnum
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<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>^
|
|
<incr>tabnum
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TBODY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TERM
|
|
<action>
|
|
<start>^<DT>
|
|
<end></DT>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TERTIARY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TERTIARYIE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TFOOT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TGROUP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>THEAD
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TIP
|
|
<action>
|
|
<do>&r.admona;
|
|
</rule>
|
|
|
|
<!-- Titles in the preface -->
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>PREFACE
|
|
<action>
|
|
<start>^<H1>
|
|
<end></H1>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT1
|
|
<relation>ancestor PREFACE
|
|
<action>
|
|
<start>^<H2>
|
|
<end></H2>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT2
|
|
<relation>ancestor PREFACE
|
|
<action>
|
|
<start>^<H3>
|
|
<end></H3>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT3
|
|
<relation>ancestor PREFACE
|
|
<action>
|
|
<start>^<H4>
|
|
<end></H4>^
|
|
</rule>
|
|
|
|
<!-- Title in bookbiblio -->
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>BOOKBIBLIO
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<!-- Titles in other sections -->
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>CHAPTER
|
|
<action>
|
|
<start>^<H1>${_followrel parent CHAPTER 4}Chapter ${chapnum}:<BR>^
|
|
<end>${_followrel parent CHAPTER 5}</H1>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>^REF.*
|
|
<action>
|
|
<start>^<H3>
|
|
<end>^</H3>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT1
|
|
<action>
|
|
<start>^<H2>${_followrel parent SECT1 4}${chapnum}.${sect1num}^
|
|
<end>${_followrel parent SECT1 5}</H2>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT2
|
|
<action>
|
|
<start>^<H3>${_followrel parent SECT2 4}${chapnum}.${sect1num}.${sect2num}^
|
|
<end>${_followrel parent SECT2 5}</H3>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT3
|
|
<action>
|
|
<start>^<H4>${_followrel parent SECT3 4}${chapnum}.${sect1num}.${sect2num}.${sect3num}^
|
|
<end>${_followrel parent SECT1 5}</H4>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT4
|
|
<action>
|
|
<start>^<H4>${_followrel parent SECT4 4}
|
|
<end>${_followrel parent SECT4 5}</H4>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>SECT5
|
|
<action>
|
|
<start>^<H4>${_followrel parent SECT5 4}
|
|
<end>${_followrel parent SECT5 5}</H4>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>FIGURE|EXAMPLE|TABLE|IMPORTANT
|
|
<!--StartText: ^<P><B> -->
|
|
<!--EndText: </B></P>^ -->
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
<context>GLOSSARY
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TITLEABBREV
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOC
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCBACK
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCCHAP
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCFRONT
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCLEVEL1
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCLEVEL2
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCLEVEL3
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCLEVEL4
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCLEVEL5
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOCPART
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TOKEN
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TRADEMARK
|
|
<action>
|
|
<end>(TM)
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>TYPE
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>ULINK
|
|
<action>
|
|
<start><A href="${URL}">
|
|
<end></A>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>USERINPUT
|
|
<action>
|
|
<start><B>
|
|
<end></B>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VARARGS
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VARIABLELIST
|
|
<context>PARA
|
|
<action>
|
|
<start></P>^<DL>^
|
|
<end>^</DL>^<P>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VARIABLELIST
|
|
<action>
|
|
<start>^<DL>^
|
|
<end>^</DL>^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VARLISTENTRY
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VOID
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>VOLUMENUM
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>WARNING
|
|
<action>
|
|
<do>&r.admona;
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>WORDASWORD
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>XREF
|
|
<action>
|
|
<replace><A HREF="#${LINKEND}"><EM>${_chasetogi TITLE &r.pass}</EM></A>
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>YEAR
|
|
<action>
|
|
<start>^
|
|
<end>^
|
|
</rule>
|
|
|
|
<!-- Taken from osf-book transpec -->
|
|
<rule id="&r.pass;">
|
|
<match>
|
|
<gi>_pass-text
|
|
</rule>
|
|
|
|
<!-- Just output the anchor tag and ID. No content. -->
|
|
<rule id="&r.astart;">
|
|
<match>
|
|
<gi>_name
|
|
<action>
|
|
<start><A NAME="${ID id}">
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule id="&r.aend;">
|
|
<match>
|
|
<gi>_name-end
|
|
<action>
|
|
<start></A>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule id="4">
|
|
<match>
|
|
<gi>_anchor-start
|
|
<action>
|
|
<replace>${_attval ID &r.astart;}
|
|
</rule>
|
|
|
|
<rule id="5">
|
|
<match>
|
|
<gi>_anchor-end
|
|
<action>
|
|
<replace>${_attval ID &r.aend;}
|
|
</rule>
|
|
|
|
<rule id="&r.ignore;">
|
|
<match>
|
|
<gi>_no_pass_text
|
|
<action>
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule id="&r.admona;">
|
|
<match>
|
|
<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>^
|
|
</rule>
|
|
|
|
<rule id="&r.admonb;">
|
|
<match>
|
|
<gi>_admonition
|
|
<action>
|
|
<start>^<TABLE border="border">
|
|
<TR><TD>^
|
|
<end>^</TD></TR></TABLE>^
|
|
</rule>
|
|
|
|
<rule id="8">
|
|
<match>
|
|
<gi>_titletext
|
|
<action>
|
|
<start>${_attval ID &r.astart;}${ttext}${_followrel child TITLE &r.pass;}${_attval ID &r.aend;}
|
|
<ignore>all
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>_Start
|
|
<action>
|
|
<start>^<!-- Magic _Start GI -->^
|
|
</rule>
|
|
|
|
<rule>
|
|
<match>
|
|
<gi>_End
|
|
<action>
|
|
<start>^<!-- Magic _End GI -->^
|
|
</rule>
|
|
|
|
</transpec>
|
|
|