diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/man/PD | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/man/PD')
-rw-r--r-- | regress/man/PD/Makefile | 6 | ||||
-rw-r--r-- | regress/man/PD/args.in | 28 | ||||
-rw-r--r-- | regress/man/PD/args.out_ascii | 31 | ||||
-rw-r--r-- | regress/man/PD/args.out_lint | 1 | ||||
-rw-r--r-- | regress/man/PD/nextline.in | 42 | ||||
-rw-r--r-- | regress/man/PD/nextline.out_ascii | 33 | ||||
-rw-r--r-- | regress/man/PD/spacing.in | 62 | ||||
-rw-r--r-- | regress/man/PD/spacing.out_ascii | 70 |
8 files changed, 273 insertions, 0 deletions
diff --git a/regress/man/PD/Makefile b/regress/man/PD/Makefile new file mode 100644 index 00000000..049cbec4 --- /dev/null +++ b/regress/man/PD/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2015/03/20 14:47:20 schwarze Exp $ + +REGRESS_TARGETS = args nextline spacing +LINT_TARGETS = args + +.include <bsd.regress.mk> diff --git a/regress/man/PD/args.in b/regress/man/PD/args.in new file mode 100644 index 00000000..97bd7993 --- /dev/null +++ b/regress/man/PD/args.in @@ -0,0 +1,28 @@ +.TH PD-ARGS 1 "December 23, 2014" OpenBSD +.SH NAME +PD-args \- unusual arguments to the PD macro +.SH DESCRIPTION +initial text +.PP +default spacing +.PD 2 +.PP +argument(2) +.PD +.PP +no argument at all +.PD 2v +.PP +argument(2v) +.PD 2p +.PP +argument(2p) +.PD 1cx +.PP +argument(1cx) +.PD xxx +.PP +argument(xxx) +.PD 0 zzz +.PP +excessive argument diff --git a/regress/man/PD/args.out_ascii b/regress/man/PD/args.out_ascii new file mode 100644 index 00000000..24f98d55 --- /dev/null +++ b/regress/man/PD/args.out_ascii @@ -0,0 +1,31 @@ +PD-ARGS(1) General Commands Manual PD-ARGS(1) + + + +NNAAMMEE + PD-args - unusual arguments to the PD macro + +DDEESSCCRRIIPPTTIIOONN + initial text + + default spacing + + + argument(2) + + no argument at all + + + argument(2v) + argument(2p) + + + argument(1cx) + + + argument(xxx) + excessive argument + + + +OpenBSD December 23, 2014 PD-ARGS(1) diff --git a/regress/man/PD/args.out_lint b/regress/man/PD/args.out_lint new file mode 100644 index 00000000..9e42b46e --- /dev/null +++ b/regress/man/PD/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:26:7: ERROR: skipping excess arguments: PD ... zzz diff --git a/regress/man/PD/nextline.in b/regress/man/PD/nextline.in new file mode 100644 index 00000000..a417f9d8 --- /dev/null +++ b/regress/man/PD/nextline.in @@ -0,0 +1,42 @@ +.TH PD-NEXTLINE 1 "March 20, 2015" OpenBSD +.SH NAME +PD-nextline \- paragraph distance macro in next-line scope +.SH DESCRIPTION +some text +.SH +.PD 0v +NEXT SECTION +first paragraph +.PP +second paragraph +.PD 1v +.PP +third paragraph +.SS +.PD 0v +Subsection +first paragraph +.PP +second paragraph +.PD 1v +.PP +third paragraph +.TP 6n +.PD 0v +tag +list text +.TP +tag +list text +.PD 1v +.TP +tag +list text +.PP +normal text +.B +.PD 0v +bold text +normal text +.PP +final paragraph diff --git a/regress/man/PD/nextline.out_ascii b/regress/man/PD/nextline.out_ascii new file mode 100644 index 00000000..f0e73326 --- /dev/null +++ b/regress/man/PD/nextline.out_ascii @@ -0,0 +1,33 @@ +PD-NEXTLINE(1) General Commands Manual PD-NEXTLINE(1) + + + +NNAAMMEE + PD-nextline - paragraph distance macro in next-line scope + +DDEESSCCRRIIPPTTIIOONN + some text + +NNEEXXTT SSEECCTTIIOONN + first paragraph + second paragraph + + third paragraph + + SSuubbsseeccttiioonn + first paragraph + second paragraph + + third paragraph + + tag list text + tag list text + + tag list text + + normal text bboolldd tteexxtt normal text + final paragraph + + + +OpenBSD March 20, 2015 PD-NEXTLINE(1) diff --git a/regress/man/PD/spacing.in b/regress/man/PD/spacing.in new file mode 100644 index 00000000..9b324149 --- /dev/null +++ b/regress/man/PD/spacing.in @@ -0,0 +1,62 @@ +.TH PD-SPACING 1 "July 28, 2012" OpenBSD +.SH NAME +PD-spacing \- effect of the PD macro on vertical spacing +.SH DESCRIPTION +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 2 +.SH DOUBLE SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 0 +.SH NO SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 1 +.SH NORMAL SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text diff --git a/regress/man/PD/spacing.out_ascii b/regress/man/PD/spacing.out_ascii new file mode 100644 index 00000000..72612304 --- /dev/null +++ b/regress/man/PD/spacing.out_ascii @@ -0,0 +1,70 @@ +PD-SPACING(1) General Commands Manual PD-SPACING(1) + + + +NNAAMMEE + PD-spacing - effect of the PD macro on vertical spacing + +DDEESSCCRRIIPPTTIIOONN + initial text + + paragraph + + hanged paragraph + + indented + paragraph + + tagged paragraph + + ssuubbsseeccttiioonn + subsection text + + +DDOOUUBBLLEE SSPPAACCIINNGG + initial text + + + paragraph + + + hanged paragraph + + + indented + paragraph + + + tagged paragraph + + + ssuubbsseeccttiioonn + subsection text +NNOO SSPPAACCIINNGG + initial text + paragraph + hanged paragraph + indented + paragraph + tagged paragraph + ssuubbsseeccttiioonn + subsection text + +NNOORRMMAALL SSPPAACCIINNGG + initial text + + paragraph + + hanged paragraph + + indented + paragraph + + tagged paragraph + + ssuubbsseeccttiioonn + subsection text + + + +OpenBSD July 28, 2012 PD-SPACING(1) |