1dnl Copyright (c) 2000-2012, 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 output for nroff -man 27changecom()dnl 28changequote(<,>)dnl 29define(XX_POSESSIVE,$1's)dnl 30define(XX_DQUOTED,``$1'')dnl 31changequote(`,')dnl 32define(XX_SH,.SH `"translit($1,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ)"')dnl 33define(XX_TH,.TH $1 $2 "$3")dnl 34define(XX_SM,\s-1$1\s+1)dnl 35define(XX_LP,.LP)dnl 36define(XX_IP,.IP)dnl 37define(XX_BR,.br)dnl 38define(XX_RS,.RS 39$1 40.RE)dnl 41define(XX_TS,.TS 42$2)dnl 43define(XX_TR,$1)dnl 44define(XX_TD,T{ 45.na 46.nh 47$1 48T})dnl 49define(XX_TDH,T{ 50.na 51.nh 52.in +2 53.ti -2 54$1 55T})dnl 56define(XX_T_,_)dnl 57define(XX_TC,$1)dnl 58define(XX_TE,.TE)dnl 59define(XX_TPS)dnl 60define(XX_TP,.TP 61$1)dnl 62define(XX_TPE)dnl 63define(XX_PP,.PP)dnl 64define(XX_RI2,.RI $1 $2)dnl 65define(XX_DASH,\-)dnl 66define(XX_DASHED,\-$1)dnl 67define(XX_FI,\fI$1\fP)dnl 68define(XX_FB,\fB$1\fP)dnl 69define(XX_NBSP,`\ ')dnl 70define(XX_LT,<)dnl 71define(XX_BS,\e)dnl 72define(XX_TARGET)dnl 73define(XX_LINK,$2)dnl 74define(XX_COPY,` ')dnl 75define(XX_NOT,notsign)dnl 76define(XX_BACKSLASH,\\$1)dnl 77define(XX_HO)dnl 78define(XX_HY,$1\%$2)dnl 79dnl Make sure it gets run through tbl first. 80'\" t 81