diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-17 16:47:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-17 16:47:30 +0000 |
commit | bcc7aae8dc6902082508659d68e6553432cab6c7 (patch) | |
tree | 1c5864e63284a88d6923fc4c0cf670c965399e3b /regress | |
parent | 7a83c249432e8c500f0cf6dc943449a04e5381cc (diff) |
if .in is used inside the .TP head, it's always relative
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/indent.in | 14 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TP/indent.out_ascii | 20 |
3 files changed, 36 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/TP/Makefile b/regress/usr.bin/mandoc/man/TP/Makefile index 6c9fc6b9de4..6c76bbbbe17 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.13 2017/06/03 15:54:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.14 2017/06/17 16:47:29 schwarze Exp $ -REGRESS_TARGETS = badarg broken double eof fill literal longhead +REGRESS_TARGETS = badarg broken double eof fill indent literal longhead REGRESS_TARGETS += macrotag manyargs sameline spacing width LINT_TARGETS = broken double eof diff --git a/regress/usr.bin/mandoc/man/TP/indent.in b/regress/usr.bin/mandoc/man/TP/indent.in new file mode 100644 index 00000000000..5480da67d2c --- /dev/null +++ b/regress/usr.bin/mandoc/man/TP/indent.in @@ -0,0 +1,14 @@ +.TH TP-INDENT 1 "June 17, 2017" OpenBSD +.SH NAME +TP-indent \- indent request inside TP head +.SH DESCRIPTION +initial text +.TP 2n +tag +indented +.TP 8n +.in 3n +tag +indented +.PP +final text diff --git a/regress/usr.bin/mandoc/man/TP/indent.out_ascii b/regress/usr.bin/mandoc/man/TP/indent.out_ascii new file mode 100644 index 00000000000..9e015b21b51 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TP/indent.out_ascii @@ -0,0 +1,20 @@ +TP-INDENT(1) General Commands Manual TP-INDENT(1) + + + +NNAAMMEE + TP-indent - indent request inside TP head + +DDEESSCCRRIIPPTTIIOONN + initial text + + tag + indented + + tag indented + + final text + + + +OpenBSD June 17, 2017 TP-INDENT(1) |