diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-07-24 19:00:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-07-24 19:00:16 +0000 |
commit | 2e06f4f94a9818c6ad3dedf892e585fa8df211a7 (patch) | |
tree | 7218710face17de83b9de410f41f8491b8aba12b /regress | |
parent | 908ca993853ccc895fa2e4a962fe5d01e478b59c (diff) |
check that a macro works in the head of a tagged paragraph;
found in my tree
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/macrotag.in | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/macrotag.out_ascii | 17 |
3 files changed, 33 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/man/TP/Makefile b/regress/usr.bin/mandoc/man/TP/Makefile index 8869c0b88c8..552a98c6742 100644 --- a/regress/usr.bin/mandoc/man/TP/Makefile +++ b/regress/usr.bin/mandoc/man/TP/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2011/01/04 01:58:56 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2011/07/24 19:00:15 schwarze Exp $ -REGRESS_TARGETS=literal width manyargs -GROFF_TARGETS=literal width manyargs +REGRESS_TARGETS=literal width manyargs macrotag +GROFF_TARGETS=literal width manyargs macrotag .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/man/TP/macrotag.in b/regress/usr.bin/mandoc/man/TP/macrotag.in new file mode 100644 index 00000000000..83f15bd03af --- /dev/null +++ b/regress/usr.bin/mandoc/man/TP/macrotag.in @@ -0,0 +1,13 @@ +.TH TP-MACROTAG 1 +.SH NAME +TP-macrotag \- macro in the head of a tagged paragraph +.SH DESCRIPTION +regular +text +.TP +.B longindent +indented +text +.PP +regular +text diff --git a/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii b/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii new file mode 100644 index 00000000000..b59a410ae32 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii @@ -0,0 +1,17 @@ +TP-MACROTAG(1) TP-MACROTAG(1) + + + +NNAAMMEE + TP-macrotag - macro in the head of a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + regular text + + lloonnggiinnddeenntt + indented text + + regular text + + + |