summaryrefslogtreecommitdiffstats
path: root/regress/man
diff options
context:
space:
mode:
Diffstat (limited to 'regress/man')
-rw-r--r--regress/man/HP/Makefile3
-rw-r--r--regress/man/HP/literal.in21
-rw-r--r--regress/man/HP/literal.out_ascii15
-rw-r--r--regress/man/HP/literal.out_html20
-rw-r--r--regress/man/IP/Makefile3
-rw-r--r--regress/man/IP/literal.in12
-rw-r--r--regress/man/IP/literal.out_ascii6
-rw-r--r--regress/man/IP/literal.out_html65
-rw-r--r--regress/man/RS/Makefile6
-rw-r--r--regress/man/RS/paragraph.in23
-rw-r--r--regress/man/RS/paragraph.out_ascii21
-rw-r--r--regress/man/RS/paragraph.out_html8
-rw-r--r--regress/man/SH/Makefile5
-rw-r--r--regress/man/SH/paragraph.in17
-rw-r--r--regress/man/SH/paragraph.out_ascii23
-rw-r--r--regress/man/SH/paragraph.out_html6
-rw-r--r--regress/man/SS/Makefile5
-rw-r--r--regress/man/SS/paragraph.in17
-rw-r--r--regress/man/SS/paragraph.out_ascii23
-rw-r--r--regress/man/SS/paragraph.out_html8
-rw-r--r--regress/man/TP/Makefile4
-rw-r--r--regress/man/TP/literal.in18
-rw-r--r--regress/man/TP/literal.out_ascii13
-rw-r--r--regress/man/TP/literal.out_html27
24 files changed, 327 insertions, 42 deletions
diff --git a/regress/man/HP/Makefile b/regress/man/HP/Makefile
index e0d2a3b4..1e33cfb4 100644
--- a/regress/man/HP/Makefile
+++ b/regress/man/HP/Makefile
@@ -1,5 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 2014/04/08 04:45:50 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2019/01/06 04:41:15 schwarze Exp $
REGRESS_TARGETS = break literal macrotag manyargs spacing
+HTML_TARGETS = literal
.include <bsd.regress.mk>
diff --git a/regress/man/HP/literal.in b/regress/man/HP/literal.in
index 0f256638..e5d1b71a 100644
--- a/regress/man/HP/literal.in
+++ b/regress/man/HP/literal.in
@@ -1,27 +1,32 @@
-.\" $OpenBSD: literal.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $
-.TH HP-LITERAL 1 "January 4, 2011"
+.\" $OpenBSD: literal.in,v 1.3 2019/01/06 04:41:15 schwarze Exp $
+.TH HP-LITERAL 1 "January 6, 2019"
.SH NAME
HP-literal \- hanged paragraphs in literal context
.SH DESCRIPTION
-regular
-text
+BEGINTEST
+before hanged paragraph
.HP 10n
tag
indented
text
.PP
regular
-text
+paragraph
.nf
literal
text
.HP 10n
tag
-indented
-text
+literal
+hanged
+paragraph
.PP
literal
-text
+paragraph
.fi
regular
text
+.br
+ENDTEST
+.br
+end of file
diff --git a/regress/man/HP/literal.out_ascii b/regress/man/HP/literal.out_ascii
index ff7aabf7..1e27b1ae 100644
--- a/regress/man/HP/literal.out_ascii
+++ b/regress/man/HP/literal.out_ascii
@@ -6,22 +6,25 @@ NNAAMMEE
HP-literal - hanged paragraphs in literal context
DDEESSCCRRIIPPTTIIOONN
- regular text
+ BEGINTEST before hanged paragraph
tag indented text
- regular text
+ regular paragraph
literal
text
tag
- indented
- text
+ literal
+ hanged
+ paragraph
literal
- text
+ paragraph
regular text
+ ENDTEST
+ end of file
-OpenBSD January 4, 2011 HP-LITERAL(1)
+OpenBSD January 6, 2019 HP-LITERAL(1)
diff --git a/regress/man/HP/literal.out_html b/regress/man/HP/literal.out_html
new file mode 100644
index 00000000..d40ee9a5
--- /dev/null
+++ b/regress/man/HP/literal.out_html
@@ -0,0 +1,20 @@
+BEGINTEST before hanged paragraph
+<p class="Pp HP">tag indented text</p>
+<p class="Pp">regular paragraph</p>
+<pre>
+literal
+text
+</pre>
+<pre>
+tag
+literal
+hanged
+paragraph
+</pre>
+<pre>
+literal
+paragraph
+</pre>
+regular text
+<br/>
+ENDTEST
diff --git a/regress/man/IP/Makefile b/regress/man/IP/Makefile
index 9edc12e1..a677b970 100644
--- a/regress/man/IP/Makefile
+++ b/regress/man/IP/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.8 2014/07/02 05:51:49 schwarze Exp $
+# $OpenBSD: Makefile,v 1.9 2019/01/06 04:41:15 schwarze Exp $
REGRESS_TARGETS = empty literal longhead manyargs spacing width
LINT_TARGETS = empty
+HTML_TARGETS = literal
.include <bsd.regress.mk>
diff --git a/regress/man/IP/literal.in b/regress/man/IP/literal.in
index edb8eb02..2fb459cb 100644
--- a/regress/man/IP/literal.in
+++ b/regress/man/IP/literal.in
@@ -1,10 +1,10 @@
-.\" $OpenBSD: literal.in,v 1.6 2017/07/04 14:53:23 schwarze Exp $
-.TH IP-LITERAL 1 "January 4, 2011"
+.\" $OpenBSD: literal.in,v 1.7 2019/01/06 04:41:15 schwarze Exp $
+.TH IP-LITERAL 1 "January 6, 2019"
.SH NAME
IP-literal \- indented paragraphs in literal context
.SH DESCRIPTION
-regular
-text
+BEGINTEST
+before indentation
.IP tag 10n
indented
regular
@@ -63,3 +63,7 @@ paragraph
.fi
regular
text
+.br
+ENDTEST
+.br
+end of file
diff --git a/regress/man/IP/literal.out_ascii b/regress/man/IP/literal.out_ascii
index db020a5e..e4984ede 100644
--- a/regress/man/IP/literal.out_ascii
+++ b/regress/man/IP/literal.out_ascii
@@ -6,7 +6,7 @@ NNAAMMEE
IP-literal - indented paragraphs in literal context
DDEESSCCRRIIPPTTIIOONN
- regular text
+ BEGINTEST before indentation
tag indented regular text
@@ -47,7 +47,9 @@ DDEESSCCRRIIPPTTIIOONN
literal
paragraph
regular text
+ ENDTEST
+ end of file
-OpenBSD January 4, 2011 IP-LITERAL(1)
+OpenBSD January 6, 2019 IP-LITERAL(1)
diff --git a/regress/man/IP/literal.out_html b/regress/man/IP/literal.out_html
new file mode 100644
index 00000000..ae90758b
--- /dev/null
+++ b/regress/man/IP/literal.out_html
@@ -0,0 +1,65 @@
+BEGINTEST before indentation
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>indented regular text</dd>
+</dl>
+<p class="Pp">new regular paragraph</p>
+<pre>
+literal
+text
+</pre>
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>
+ <pre>
+indented
+literal
+text
+ </pre>
+ </dd>
+</dl>
+<pre>
+new
+literal
+paragraph
+</pre>
+regular text
+<h2 class="Ss" title="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal
+ into indented paragraph</a></h2>
+regular text
+<pre>
+literal
+text
+</pre>
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>
+ <pre>
+indented
+literal
+text
+ </pre>
+ indented regular text</dd>
+</dl>
+<p class="Pp">new regular paragraph</p>
+<h2 class="Ss" title="Ss" id="literal_out_of_indented_paragraph"><a class="permalink" href="#literal_out_of_indented_paragraph">literal
+ out of indented paragraph</a></h2>
+regular text
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>indented regular text
+ <pre>
+indented
+literal
+text
+ </pre>
+ </dd>
+</dl>
+<pre>
+new
+literal
+paragraph
+</pre>
+regular text
+<br/>
+ENDTEST
diff --git a/regress/man/RS/Makefile b/regress/man/RS/Makefile
index 34c0029c..e7b64ab1 100644
--- a/regress/man/RS/Makefile
+++ b/regress/man/RS/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.13 2019/01/05 20:00:33 schwarze Exp $
+# $OpenBSD: Makefile,v 1.14 2019/01/06 04:41:15 schwarze Exp $
REGRESS_TARGETS = an-margin breaking broken empty literal lonelyRE
-REGRESS_TARGETS += nested noRE nowidth REarg width
+REGRESS_TARGETS += nested noRE nowidth paragraph REarg width
LINT_TARGETS = empty lonelyRE noRE REarg
-HTML_TARGETS = literal
+HTML_TARGETS = literal paragraph
.include <bsd.regress.mk>
diff --git a/regress/man/RS/paragraph.in b/regress/man/RS/paragraph.in
new file mode 100644
index 00000000..01f90f04
--- /dev/null
+++ b/regress/man/RS/paragraph.in
@@ -0,0 +1,23 @@
+.\" $OpenBSD: paragraph.in,v 1.1 2019/01/06 04:41:15 schwarze Exp $
+.TH RS-PARAGRAPH 1 "January 6, 2019"
+.SH NAME
+RS-paragraph \- interaction between regular and indented paragraphs
+.SH DESCRIPTION
+BEGINTEST
+before paragraph
+.PP
+regular
+paragraph
+.RS
+indented
+paragraph
+.PP
+nested
+paragraph
+.RE
+regular text
+after display
+.br
+ENDTEST
+.br
+end of file
diff --git a/regress/man/RS/paragraph.out_ascii b/regress/man/RS/paragraph.out_ascii
new file mode 100644
index 00000000..91e0ee3e
--- /dev/null
+++ b/regress/man/RS/paragraph.out_ascii
@@ -0,0 +1,21 @@
+RS-PARAGRAPH(1) General Commands Manual RS-PARAGRAPH(1)
+
+
+
+NNAAMMEE
+ RS-paragraph - interaction between regular and indented paragraphs
+
+DDEESSCCRRIIPPTTIIOONN
+ BEGINTEST before paragraph
+
+ regular paragraph
+ indented paragraph
+
+ nested paragraph
+ regular text after display
+ ENDTEST
+ end of file
+
+
+
+OpenBSD January 6, 2019 RS-PARAGRAPH(1)
diff --git a/regress/man/RS/paragraph.out_html b/regress/man/RS/paragraph.out_html
new file mode 100644
index 00000000..8b518698
--- /dev/null
+++ b/regress/man/RS/paragraph.out_html
@@ -0,0 +1,8 @@
+BEGINTEST before paragraph
+<p class="Pp">regular paragraph</p>
+<div class="Bd-indent">indented paragraph
+<p class="Pp">nested paragraph</p>
+</div>
+regular text after display
+<br/>
+ENDTEST
diff --git a/regress/man/SH/Makefile b/regress/man/SH/Makefile
index 6fff341f..55133efe 100644
--- a/regress/man/SH/Makefile
+++ b/regress/man/SH/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2015/04/04 18:52:12 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2019/01/06 04:41:15 schwarze Exp $
-REGRESS_TARGETS = broken broken_eline empty_before longarg noarg
+REGRESS_TARGETS = broken broken_eline empty_before longarg noarg paragraph
LINT_TARGETS = broken broken_eline empty_before noarg
+HTML_TARGETS = paragraph
# groff-1.22.3 defects:
# - .SH without args just before EOF causes two additional blank lines.
diff --git a/regress/man/SH/paragraph.in b/regress/man/SH/paragraph.in
new file mode 100644
index 00000000..8ea45822
--- /dev/null
+++ b/regress/man/SH/paragraph.in
@@ -0,0 +1,17 @@
+.\" $OpenBSD: paragraph.in,v 1.1 2019/01/06 04:41:15 schwarze Exp $
+.TH SH-PARAGRAPH 1 "January 6, 2019"
+.SH NAME
+SH-paragraph \- interaction of section headers with paragraphs
+.SH SYNOPSIS
+BEGINTEST
+.SH DESCRIPTION
+This text
+immediately follows
+a section header.
+.PP
+This is
+a paragraph.
+.SH EXAMPLES
+ENDTEST
+.PP
+end of file
diff --git a/regress/man/SH/paragraph.out_ascii b/regress/man/SH/paragraph.out_ascii
new file mode 100644
index 00000000..c7b8a621
--- /dev/null
+++ b/regress/man/SH/paragraph.out_ascii
@@ -0,0 +1,23 @@
+SH-PARAGRAPH(1) General Commands Manual SH-PARAGRAPH(1)
+
+
+
+NNAAMMEE
+ SH-paragraph - interaction of section headers with paragraphs
+
+SSYYNNOOPPSSIISS
+ BEGINTEST
+
+DDEESSCCRRIIPPTTIIOONN
+ This text immediately follows a section header.
+
+ This is a paragraph.
+
+EEXXAAMMPPLLEESS
+ ENDTEST
+
+ end of file
+
+
+
+OpenBSD January 6, 2019 SH-PARAGRAPH(1)
diff --git a/regress/man/SH/paragraph.out_html b/regress/man/SH/paragraph.out_html
new file mode 100644
index 00000000..5aef80e2
--- /dev/null
+++ b/regress/man/SH/paragraph.out_html
@@ -0,0 +1,6 @@
+BEGINTEST
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+This text immediately follows a section header.
+<p class="Pp">This is a paragraph.</p>
+<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
+ENDTEST
diff --git a/regress/man/SS/Makefile b/regress/man/SS/Makefile
index 01bd7edb..0ae0fbc5 100644
--- a/regress/man/SS/Makefile
+++ b/regress/man/SS/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2015/04/04 18:52:12 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2019/01/06 04:41:15 schwarze Exp $
-REGRESS_TARGETS = broken broken_eline longarg noarg
+REGRESS_TARGETS = broken broken_eline longarg noarg paragraph
LINT_TARGETS = broken broken_eline noarg
+HTML_TARGETS = paragraph
# groff-1.22.3 defects:
# - .SS without args just before EOF causes two additional blank lines.
diff --git a/regress/man/SS/paragraph.in b/regress/man/SS/paragraph.in
new file mode 100644
index 00000000..c30ee9c3
--- /dev/null
+++ b/regress/man/SS/paragraph.in
@@ -0,0 +1,17 @@
+.\" $OpenBSD: paragraph.in,v 1.1 2019/01/06 04:41:15 schwarze Exp $
+.TH SS-PARAGRAPH 1 "January 6, 2019"
+.SH NAME
+SS-paragraph \- interaction of subsection headers with paragraphs
+.SH DESCRIPTION
+BEGINTEST
+.SS First subsection
+This text
+immediately follows
+a subsection header.
+.PP
+This is
+a paragraph.
+.SS Second subsection
+ENDTEST
+.PP
+end of file
diff --git a/regress/man/SS/paragraph.out_ascii b/regress/man/SS/paragraph.out_ascii
new file mode 100644
index 00000000..3448eedb
--- /dev/null
+++ b/regress/man/SS/paragraph.out_ascii
@@ -0,0 +1,23 @@
+SS-PARAGRAPH(1) General Commands Manual SS-PARAGRAPH(1)
+
+
+
+NNAAMMEE
+ SS-paragraph - interaction of subsection headers with paragraphs
+
+DDEESSCCRRIIPPTTIIOONN
+ BEGINTEST
+
+ FFiirrsstt ssuubbsseeccttiioonn
+ This text immediately follows a subsection header.
+
+ This is a paragraph.
+
+ SSeeccoonndd ssuubbsseeccttiioonn
+ ENDTEST
+
+ end of file
+
+
+
+OpenBSD January 6, 2019 SS-PARAGRAPH(1)
diff --git a/regress/man/SS/paragraph.out_html b/regress/man/SS/paragraph.out_html
new file mode 100644
index 00000000..e36f2a06
--- /dev/null
+++ b/regress/man/SS/paragraph.out_html
@@ -0,0 +1,8 @@
+BEGINTEST
+<h2 class="Ss" title="Ss" id="First_subsection"><a class="permalink" href="#First_subsection">First
+ subsection</a></h2>
+This text immediately follows a subsection header.
+<p class="Pp">This is a paragraph.</p>
+<h2 class="Ss" title="Ss" id="Second_subsection"><a class="permalink" href="#Second_subsection">Second
+ subsection</a></h2>
+ENDTEST
diff --git a/regress/man/TP/Makefile b/regress/man/TP/Makefile
index b1763652..2fc1074f 100644
--- a/regress/man/TP/Makefile
+++ b/regress/man/TP/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.12 2015/09/21 13:24:32 schwarze Exp $
+# $OpenBSD: Makefile,v 1.15 2019/01/06 04:41:15 schwarze Exp $
REGRESS_TARGETS = badarg broken double eof fill indent literal longhead
REGRESS_TARGETS += macrotag manyargs sameline spacing width
-
LINT_TARGETS = broken double eof
+HTML_TARGETS = literal
# groff-1.22.3 defects:
# - If .TP precedes .RE, the latter does not properly reset indentation.
diff --git a/regress/man/TP/literal.in b/regress/man/TP/literal.in
index 4fa30fd1..a2dc956f 100644
--- a/regress/man/TP/literal.in
+++ b/regress/man/TP/literal.in
@@ -1,27 +1,33 @@
-.\" $OpenBSD: literal.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $
-.TH TP-LITERAL 1 "January 4, 2011"
+.\" $OpenBSD: literal.in,v 1.4 2019/01/06 04:41:15 schwarze Exp $
+.TH TP-LITERAL 1 "January 6, 2019"
.SH NAME
TP-literal \- indented paragraphs in literal context
.SH DESCRIPTION
-regular
-text
+BEGINTEST
+before indentation
.TP 10n
tag
+regular
indented
text
.PP
regular
-text
+paragraph
.nf
literal
text
.TP 10n
tag
indented
+literal
text
.PP
literal
-text
+paragraph
.fi
regular
text
+.br
+ENDTEST
+.br
+end of file
diff --git a/regress/man/TP/literal.out_ascii b/regress/man/TP/literal.out_ascii
index b8dddb7b..6fcaeeb6 100644
--- a/regress/man/TP/literal.out_ascii
+++ b/regress/man/TP/literal.out_ascii
@@ -6,21 +6,24 @@ NNAAMMEE
TP-literal - indented paragraphs in literal context
DDEESSCCRRIIPPTTIIOONN
- regular text
+ BEGINTEST before indentation
- tag indented text
+ tag regular indented text
- regular text
+ regular paragraph
literal
text
tag indented
+ literal
text
literal
- text
+ paragraph
regular text
+ ENDTEST
+ end of file
-OpenBSD January 4, 2011 TP-LITERAL(1)
+OpenBSD January 6, 2019 TP-LITERAL(1)
diff --git a/regress/man/TP/literal.out_html b/regress/man/TP/literal.out_html
new file mode 100644
index 00000000..14bfb834
--- /dev/null
+++ b/regress/man/TP/literal.out_html
@@ -0,0 +1,27 @@
+BEGINTEST before indentation
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>regular indented text</dd>
+</dl>
+<p class="Pp">regular paragraph</p>
+<pre>
+literal
+text
+</pre>
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>
+ <pre>
+indented
+literal
+text
+ </pre>
+ </dd>
+</dl>
+<pre>
+literal
+paragraph
+</pre>
+regular text
+<br/>
+ENDTEST