* src/roff/troff/TODO: Mention local variables.
[s-roff.git] / tmac / andoc.tmac
bloba3338907011948603a058180693c20b2a7bca84a
1 .\" andoc.tmac
2 .\"
3 .\" Load either an-old.tmac or doc.tmac.  Multiple man pages can be
4 .\" handled.
5 .\"
6 .\"
7 .\" Copyright (C) 1991, 1995, 2000, 2002, 2008
8 .\"   Free Software Foundation, Inc.
9 .\"      Written by James Clark (jjc@jclark.com)
10 .\"
11 .\" This file is part of groff.
12 .\"
13 .\" groff is free software; you can redistribute it and/or modify it under
14 .\" the terms of the GNU General Public License as published by the Free
15 .\" Software Foundation; either version 2, or (at your option) any later
16 .\" version.
17 .\"
18 .\" groff is distributed in the hope that it will be useful, but WITHOUT ANY
19 .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 .\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21 .\" for more details.
22 .\"
23 .\" You should have received a copy of the GNU General Public License along
24 .\" with groff; see the file COPYING.  If not, write to the Free Software
25 .\" Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
26 .\"
28 .if !\n(.g \
29 .  ab These macros require groff.
31 .nr _C \n(.C
32 .cp 0
34 .als andoc-em em
35 .als andoc-bp bp
37 .de1 reload-doc
38 .  ch an-header   \" remove trap set by an-old.tmac
39 .  ch an-footer   \" remove trap set by an-old.tmac
40 .  ch an-p-footer \" remove trap set by an-old.tmac
42 .  als em andoc-em
43 .  als bp andoc-bp
44 .  rm Dd          \" disable load-only-once, see doc.tmac
46 .  mso doc.tmac
48 .  als TH reload-man
49 \\*[Dd]\\
52 .de1 reload-man
53 .  ch header      \" remove trap set by doc.tmac
54 .  ch footer      \" remove trap set by doc.tmac
56 .  als em andoc-em
57 .  als bp andoc-bp
58 .  rm RI          \" disable load-only-once, see an-old.tmac
59 .  blm            \" no blank line macro
60 .  rm TH
62 .  mso an-old.tmac
64 .  als Dd reload-doc
65 \\*[TH]\\
68 .als TH reload-man
69 .als Dd reload-doc
71 .\" dummy equation macros -- eqnrc is read before .TH or .Dd is parsed
72 .de EQ
74 .de EN
77 .cp \n[_C]
79 .\" end of andoc.tmac