Imported Upstream version 1.22.4
[platform/upstream/groff.git] / tmac / refer-me.tmac
1 .\" refer-me.tmac
2 .\"
3 .\" Refer support for me macros.
4 .\"
5 .\" Copyright (C) 2011-2018 Free Software Foundation, Inc.
6 .\"   Written by Werner Lemberg (wl@gnu.org)
7 .\"
8 .\" This file is part of groff.
9 .\"
10 .\" groff is free software; you can redistribute it and/or modify it
11 .\" under the terms of the GNU General Public License as published by
12 .\" the Free Software Foundation, either version 3 of the License, or
13 .\" (at your option) any later version.
14 .\"
15 .\" groff is distributed in the hope that it will be useful, but WITHOUT
16 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 .\" or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
18 .\" License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public License
21 .\" along with this program.  If not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\"
24 .\" Please send comments to groff@gnu.org.
25 .
26 .
27 .als ref*error tm
28 .
29 .de ref*text-label-start
30 .  (f
31 .  ip "\\$1"
32 ..
33 .de ref*text-label-end
34 .  )f
35 ..
36 .
37 .de ref*biblio-item-start
38 .  ip "\\$1"
39 ..
40 .de ref*biblio-item-start-nolabel
41 .  ip \&
42 ..
43 .de ref*biblio-item-end
44 ..
45 .
46 .ds ref*refnum-start \" empty
47 .ds ref*refnum-end   .\0\"
48 .
49 .ie \n(.V<1v \{\
50 .       ds [. \s-2\v'-.4m'\f1
51 .       ds .] \v'.4m'\s+2\fP
52 .\}
53 .el \{\
54 .       ds [. " [
55 .       ds .] ]
56 .\}
57 .
58 .ds ref*spec!0  Q A T S V N P I C O D
59 .ds ref*spec!1  Q A T J S V N P I C D O
60 .ds ref*spec!2  Q A T S V P I C D G O
61 .ds ref*spec!3  Q A T P B E S V I C D O
62 .ds ref*spec!4  Q A T R G P I C D O
63 .\" style #5 (Bell Laboratories internal memorandum) is not supported
64 .\" by GNU refer
65 .
66 .ds ref*spec!A     ",  " "
67 .ds ref*spec!B     ",  " " "in \f2"                ""    "\f1"
68 .ds ref*spec!B:3   ",  " " "in \f2"                "\f1"
69 .ds ref*spec!D     """ " " "("                     ")"
70 .ds ref*spec!D:0   """ " "
71 .ds ref*spec!E     ",  " " "ed. "
72 .ds ref*spec!G     """ " " "("                     ")"
73 .ds ref*spec!G:2   ".  " " "Gov't. ordering no.\~"
74 .ds ref*spec!J     ",  " " "\f2"                   "\f1"
75 .ds ref*spec!N     """ "(" ""                      ")"
76 .ds ref*spec!O     ".  " "
77 .ds ref*spec!O:0   ",  " "
78 .ds ref*spec!O:2   """ " "
79 .ds ref*spec!P     ",  " " "p.\~"
80 .ds ref*spec!PP    ",  " " "pp.\~"
81 .ds ref*spec!T     ",  " " "\\*(lq"                ""    "\\*(rq"
82 .ds ref*spec!T:0   ",  " " "\f2"                   "\f1"
83 .ds ref*spec!T:2   ",  " " "\f2"                   ""    "\f1"
84 .ds ref*spec!V     """ " " "\f3"                   "\f1"
85 .ds ref*spec!dflt  ",  " "
86 .
87 .de ref*biblio-start-hook
88 .  $p References
89 .  lp
90 ..
91 .
92 .de ref*biblio-end-hook
93 .  sp
94 ..
95 .
96 .mso refer.tmac
97 .
98 .\" ====================================================================
99 .\" Editor settings
100 .\" ====================================================================
101 .
102 .\" Local Variables:
103 .\" mode: nroff
104 .\" fill-column: 72
105 .\" End:
106 .\" vim: set filetype=groff textwidth=72: