Imported Upstream version 1.22.4
[platform/upstream/groff.git] / tmac / refer-ms.tmac
1 .\" refer-ms.tmac
2 .\"
3 .\" Refer support for ms 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 @error
28 .
29 .de ref*text-label-start
30 .  FS "\\$1"
31 ..
32 .de ref*text-label-end
33 .  FE
34 ..
35 .
36 .de ref*biblio-item-start
37 .  IP "\\$1"
38 ..
39 .de ref*biblio-item-start-nolabel
40 .  XP
41 ..
42 .de ref*biblio-item-end
43 ..
44 .
45 .als ref*refnum-start par@sup-start
46 .als ref*refnum-end   par@sup-end
47 .
48 .ds [. \E*[ref*refnum-start]\"
49 .ds .] \E*[ref*refnum-end]\"
50 .
51 .ds ref*spec!0  Q A T S V N P I C D O
52 .ds ref*spec!1  Q A T J S V N P I C D O
53 .ds ref*spec!2  Q A T S V P I C D O
54 .ds ref*spec!3  Q A T B E S V P I C D O
55 .ds ref*spec!4  Q A T R G P I C D O
56 .
57 .ds ref*spec!A     ",  " "
58 .ds ref*spec!B     """ " " "in \fI" ""    "\fP"
59 .ds ref*spec!D     """ " " "("      ")"
60 .ds ref*spec!E     ",  " " "ed. "
61 .ds ref*spec!G     """ " " "("      ")"
62 .ds ref*spec!J     ",  " " "\fI"    ""    "\fP"
63 .ds ref*spec!N     """ "(" ""       ")"
64 .ds ref*spec!O     ".  " "
65 .ds ref*spec!P     ",  " " "p.\~"
66 .ds ref*spec!PP    ",  " " "pp.\~"
67 .ds ref*spec!T     ",  " " "\\*Q"   ""    "\\*U"
68 .ds ref*spec!T:0   ",  " " "\fI"    ""    "\fP"
69 .ds ref*spec!T:2   ",  " " "\fI"    ""    "\fP"
70 .ds ref*spec!V     """ " " "\fB"    "\fR"
71 .ds ref*spec!dflt  ",  " "
72 .
73 .de ref*biblio-start-hook
74 .  SH
75 .  nop \&\\*[REFERENCES]
76 .  par@reset
77 ..
78 .
79 .de ref*biblio-end-hook
80 .  par@finish
81 ..
82 .
83 .mso refer.tmac
84 .
85 .\" ====================================================================
86 .\" Editor settings
87 .\" ====================================================================
88 .
89 .\" Local Variables:
90 .\" mode: nroff
91 .\" fill-column: 72
92 .\" End:
93 .\" vim: set filetype=groff textwidth=72: