summaryrefslogtreecommitdiffstats
path: root/t/fmt/man/macros.man
blob: 035363c17ea77a8c6bd7c3705f50534955668910 (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
.TH MACROS 1
.SH NAME
macros \- test po4a's support of some groff macros
.SH SYNOPSIS
.B macros
[\fB\-t\fR \fIMACRO\fR]
[\fB\-\-test\fR \fIMACRO\fR]
.IR macro ...
.SH DESCRIPTION
.B macros
is an example manpage for macro tests.
.SH OPTIONS
.TP
.BR \-t ", " \-\-test =\fIMACRO\fR
Set the macro to test.
.P
.\" Check .UR and .UE macros for URLS.
This is a link with a trailing comma to
.UR https://www.example.org/test
an example site
.UE ,
used for testing po4a.
.P
.UR https://www.example.org/test2
This link
.UE
does not contain punctuation after the UE macro.
.P
.\" Check .MT and .ME macros for mail addresses.
This is a mail address with a trailing comma for
.MT foo@example.org
Mr. Foo
.ME ,
used for testing po4a.
.P
.MT foo@example.org
Mr. Foo
.ME
does not contain punctuation after the ME macro.
.SH SYNOPSIS II
.\" Check synopsis macros.
.SY command
.OP \-a arg1
.OP \-b arg2
.RI [ file
.IR .\|.\|. ]
.SH SYNOPSIS III
.\" Check synopsis macros with terminating YS.
.SY command
.OP \-a arg1
.YS
.P
More text.

.B Note that long long long long long long long long long long long long long long long long long long BOLD text should not be wrapped.
.I ITALIC long long long long long long long long long long long long long long long long long long text should not be wrapped either.