Sync-to-go: update copyright for 2015
[s-roff.git] / tmac / andoc.tmac
blob03a03d8220d31a78c36dab1ec18cac4afc4d9cd7
1 .\"@ andoc.tmac
2 .\"@ Load either an-old.tmac or doc.tmac.  Multiple man pages can be handled.
3 .\"
4 .\" Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
5 .\"
6 .\" Copyright (C) 1991, 1995, 2000, 2002, 2008
7 .\"   Free Software Foundation, Inc.
8 .\"      Written by James Clark (jjc@jclark.com)
9 .\"
10 .\" This is free software; you can redistribute it and/or modify it under
11 .\" the terms of the GNU General Public License as published by the Free
12 .\" Software Foundation; either version 2, or (at your option) any later
13 .\" version.
14 .\"
15 .\" This is distributed in the hope that it will be useful, but WITHOUT ANY
16 .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 .\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
18 .\" for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public License along
21 .\" with groff; see the file COPYING.  If not, write to the Free Software
22 .\" Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
24 .if !\n(.g \
25 .  ab These macros require groff / compatible.
27 .nr _C \n(.C
28 .cp 0
30 .als andoc-em em
31 .als andoc-bp bp
33 .de1 reload-doc
34 .  ch an-header   \" remove trap set by an-old.tmac
35 .  ch an-footer   \" remove trap set by an-old.tmac
36 .  ch an-p-footer \" remove trap set by an-old.tmac
38 .  als em andoc-em
39 .  als bp andoc-bp
40 .  rm Dd          \" disable load-only-once, see doc.tmac
42 .  mso doc.tmac
44 .  als TH reload-man
45 \\*[Dd]\\
48 .de1 reload-man
49 .  ch header      \" remove trap set by doc.tmac
50 .  ch footer      \" remove trap set by doc.tmac
52 .  als em andoc-em
53 .  als bp andoc-bp
54 .  rm RI          \" disable load-only-once, see an-old.tmac
55 .  blm            \" no blank line macro
56 .  rm TH
58 .  mso an-old.tmac
60 .  als Dd reload-doc
61 \\*[TH]\\
64 .als TH reload-man
65 .als Dd reload-doc
67 .\" dummy equation macros -- eqnrc is read before .TH or .Dd is parsed
68 .de EQ
70 .de EN
73 .cp \n[_C]
75 .\" s-ts-mode