diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
commit | 5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch) | |
tree | 63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt/man/macros.man | |
parent | Initial commit. (diff) | |
download | po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip |
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt/man/macros.man')
-rw-r--r-- | t/fmt/man/macros.man | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/t/fmt/man/macros.man b/t/fmt/man/macros.man new file mode 100644 index 0000000..035363c --- /dev/null +++ b/t/fmt/man/macros.man @@ -0,0 +1,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. |