summaryrefslogtreecommitdiff
path: root/tmac/an-ext.tmac
blob: b3a764535ae622fa61f5b6cfe503b8cd644d8dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.\" an-ext.tmac
.\"
.\" Written by Eric S. Raymond <esr@thyrsus.com>
.\"            Werner Lemberg <wl@gnu.org>
.\"
.\" Version 2006-Jan-16
.\"
.\" This file is explicitly placed into the public domain.
.\"
.\"
.\" The code below provides extension macros for the `man' macro package.
.\" It is written without any groff extensions so that other `man'
.\" implementations can use it without changes.
.\"
.\" With groff, this file is sourced by the `man' macro package itself.
.\" Man page authors who are concerned about portability might add the
.\" used macros directly to the prologue of the man page(s).
.
.
.\" Map mono-width fonts to standard fonts for groff's TTY device
.if n \{\
.  do ftr CR R
.  do ftr CI I
.  do ftr CB B
.\}
.
.\" groff has glyph entities for angle brackets.
.ie \n(.g \{\
.  ds la \(la\"
.  ds ra \(ra\"
.\}
.el \{\
.  ds la <\"
.  ds ra >\"
.  nr HY 1
.\}
.
.nr SY 0
.
.
.\" Declare start of command synopsis.  Sets up hanging indentation.
.de SY
.  ie !\\n(SY \{\
.    nh
.    nr SY 1
.    nr a \\n(.j
.    ad l
.    nr i \\n(.i
.  \}
.  el \{\
.    br
.    ns
.  \}
.
.  HP \w'\fB\\$1\fP\ 'u
.  B "\\$1"
..
.
.
.\" End of command synopsis.  Restores adjustment.
.de YS
.  in \\niu
.  ad \\na
.  hy \\n(HY
.  nr SY 0
..
.
.
.\" Declare optional option.
.de OP
.  ie \\n(.$-1 \
.    RI "[\fB\\$1\fP" "\ \\$2" "]"
.  el \
.    RB "[" "\\$1" "]"
..
.
.
.\" Universal resource locator.
.\" XXX to be modified
.de URL
.  nh
.  ie \\n(.$-1 \
\\$2 \*(laURL:\\$1\*(ra\"
.  el \
\*(la\\$1\*(ra\"
.  hy \n(HY
..
.
.
.\" Continuation line for .TP header.
.de TQ
.  br
.  ns
.  TP \\$1\" no doublequotes around argument!
..
.
.
.\" Start example.
.de EX
.  sp 0.5
.  nf
.  nh
.  ft CW
..
.
.
.\" End example.
.de EE
.  ft
.  fi
.  hy \n(HY
.  sp 0.5
..
.
.
.\" Start display.
.de DS
.  \" XXX to be written
..
.
.
.\" End display.
.de DE
.  \" XXX to be written
..
.
.\" EOF