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