aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-17 16:47:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-17 16:47:48 +0000
commitfc10222b160be65e60f5afcce864bcc8a49b6b48 (patch)
tree661ae846db34c5ec18bd00ddb2a6f3c1de20329a /regress
parent49598c9d922bda8ee429befd0845df1e70a49217 (diff)
downloadmandoc-fc10222b160be65e60f5afcce864bcc8a49b6b48.tar.gz
mandoc-fc10222b160be65e60f5afcce864bcc8a49b6b48.tar.zst
mandoc-fc10222b160be65e60f5afcce864bcc8a49b6b48.zip
if .in is used inside the .TP head, it's always relative
Diffstat (limited to 'regress')
-rw-r--r--regress/man/TP/Makefile2
-rw-r--r--regress/man/TP/indent.in14
-rw-r--r--regress/man/TP/indent.out_ascii20
3 files changed, 35 insertions, 1 deletions
diff --git a/regress/man/TP/Makefile b/regress/man/TP/Makefile
index 8d81e954..b1763652 100644
--- a/regress/man/TP/Makefile
+++ b/regress/man/TP/Makefile
@@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.12 2015/09/21 13:24:32 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/man/TP/indent.in b/regress/man/TP/indent.in
new file mode 100644
index 00000000..5480da67
--- /dev/null
+++ b/regress/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/man/TP/indent.out_ascii b/regress/man/TP/indent.out_ascii
new file mode 100644
index 00000000..9e015b21
--- /dev/null
+++ b/regress/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)