1dnl Copyright (c) 2000-2013, Paul Mattes.
2dnl All rights reserved.
3dnl
4dnl Redistribution and use in source and binary forms, with or without
5dnl modification, are permitted provided that the following conditions are met:
6dnl     * Redistributions of source code must retain the above copyright
7dnl       notice, this list of conditions and the following disclaimer.
8dnl     * Redistributions in binary form must reproduce the above copyright
9dnl       notice, this list of conditions and the following disclaimer in the
10dnl       documentation and/or other materials provided with the distribution.
11dnl     * Neither the names of Paul Mattes nor the names of his contributors
12dnl       may be used to endorse or promote products derived from this software
13dnl       without specific prior written permission.
14dnl
15dnl THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED
16dnl WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
17dnl MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
18dnl EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19dnl SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
20dnl TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21dnl PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
22dnl LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
23dnl NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24dnl SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25dnl
26dnl Man page macros in m4, produces html output
27changequote(<,>)dnl
28define(XX_POSESSIVE,$1's)dnl
29define(XX_DQUOTED,``$1'')dnl
30changequote(`,')dnl
31changecom()dnl
32define(XX_TH)dnl
33define(XX_XL,`translit($1,` ()/',-)')dnl
34define(XX_XR,`<a HREF="`#'XX_XL($1)">$1</a><br>')dnl
35define(XX_SH,`<a NAME="XX_XL($1)"></a>dnl
36divert(1)dnl
37XX_XR($1)
38divert(2)dnl
39<h2>$1</h2>')dnl
40define(XX_SM,<font size=-1>$1</font>)dnl
41define(XX_LP,<p>)dnl
42define(XX_IP,<p>)dnl
43define(XX_BR,<br>)dnl
44define(XX_RS,<blockquote>$1</blockquote>)dnl
45define(XX_TS,<table BORDER cols=$1 width="75%">)dnl
46define(XX_TR,<tr>$1</tr>)dnl
47define(XX_TD,<td $2>$1</td>)dnl
48define(XX_TDH,<td $2>$1</td>)dnl
49define(XX_T_)dnl
50define(XX_TC,<center>$1</center>)dnl
51define(XX_TE,</table>)dnl
52define(XX_TPS,<dl>)dnl
53define(XX_TPE,</dl>
54)dnl
55define(XX_TP,<dt>$1</dt><dd>)dnl
56define(XX_PP,<p>)dnl
57define(XX_DASH,`-')dnl
58define(XX_DASHED,`-'$1)dnl
59define(XX_FI,<i>$1</i>)dnl
60define(XX_FB,<b>$1</b>)dnl
61define(XX_NBSP,&nbsp;)dnl
62define(XX_LT,&lt;)dnl
63define(XX_BS,\)dnl
64define(XX_TARGET,<a NAME="$1"></a>)dnl
65define(XX_LINK,<a HREF="$1">$2</a>)dnl
66define(XX_COPY,` &copy; ')dnl
67define(XX_BACKSLASH,``&#92;''$1)dnl
68define(XX_NOT,&not;)dnl
69define(XX_HO,$1)dnl
70define(XX_HY,$1$2)dnl
71dnl Stream 1 has the table of contents, stream 2 the body, stream 3 the tail
72divert(1)dnl
73<html>
74<head>
75<title>XX_PAGENAME Manual Page</title>
76<link HREF="http://www.w3.org/StyleSheets/Core/Steely" TYPE="text/css" REL="stylesheet">
77</head>
78<body>
79<h1>XX_PAGENAME Manual Page</h1>
80<hr>
81<p><b>Note:</b> This page is no longer being maintained for XX_PAGENAME 4.0 and later.
82Please refer to the <a href="https://x3270.miraheze.org/wiki/Main_Page">the x3270 Wiki</a> for up-to-date documentation.</p>
83<hr>
84<h2>Contents</h2>
85<blockquote>
86divert(3)dnl
87<hr>
88<i>
89This HTML document and the accompanying troff document were generated with
90a set of write-only <b>m4</b> macros and the powerful <b>vi</b> editor.
91<br>Last modified XX_DATE.
92</i>
93</body>
94</html>
95divert(2)dnl
96</blockquote>dnl
97