aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bf
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Bf')
-rw-r--r--regress/mdoc/Bf/Makefile7
-rw-r--r--regress/mdoc/Bf/paragraph.in22
-rw-r--r--regress/mdoc/Bf/paragraph.out_ascii14
-rw-r--r--regress/mdoc/Bf/paragraph.out_html6
4 files changed, 46 insertions, 3 deletions
diff --git a/regress/mdoc/Bf/Makefile b/regress/mdoc/Bf/Makefile
index eb845e95..da5b2d91 100644
--- a/regress/mdoc/Bf/Makefile
+++ b/regress/mdoc/Bf/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2014/07/04 16:11:42 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2019/01/07 06:51:37 schwarze Exp $
-REGRESS_TARGETS = nest multiargs badargs break broken
-LINT_TARGETS = multiargs badargs break broken
+REGRESS_TARGETS = badargs break broken multiargs nest paragraph
+LINT_TARGETS = badargs break broken multiargs
+HTML_TARGETS = paragraph
# mandoc -T markdown ignores .Bf, at least for now
diff --git a/regress/mdoc/Bf/paragraph.in b/regress/mdoc/Bf/paragraph.in
new file mode 100644
index 00000000..3dcdabb8
--- /dev/null
+++ b/regress/mdoc/Bf/paragraph.in
@@ -0,0 +1,22 @@
+.\" $OpenBSD: paragraph.in,v 1.1 2019/01/07 06:51:37 schwarze Exp $
+.Dd $Mdocdate: January 7 2019 $
+.Dt BF-PARAGRAPH 1
+.Os
+.Sh NAME
+.Nm Bf-paragraph
+.Nd interaction of paragraphs and font blocks
+.Sh DESCRIPTION
+BEGINTEST
+.Pp
+normal
+text
+.Bf -literal
+literal
+text
+.Pp
+literal
+paragraph
+.Ef
+ENDTEST
+.br
+end of file
diff --git a/regress/mdoc/Bf/paragraph.out_ascii b/regress/mdoc/Bf/paragraph.out_ascii
new file mode 100644
index 00000000..25b2fd89
--- /dev/null
+++ b/regress/mdoc/Bf/paragraph.out_ascii
@@ -0,0 +1,14 @@
+BF-PARAGRAPH(1) General Commands Manual BF-PARAGRAPH(1)
+
+NNAAMMEE
+ BBff--ppaarraaggrraapphh - interaction of paragraphs and font blocks
+
+DDEESSCCRRIIPPTTIIOONN
+ BEGINTEST
+
+ normal text literal text
+
+ literal paragraph ENDTEST
+ end of file
+
+OpenBSD January 7, 2019 OpenBSD
diff --git a/regress/mdoc/Bf/paragraph.out_html b/regress/mdoc/Bf/paragraph.out_html
new file mode 100644
index 00000000..e86b979a
--- /dev/null
+++ b/regress/mdoc/Bf/paragraph.out_html
@@ -0,0 +1,6 @@
+BEGINTEST
+<p class="Pp">normal text</p>
+<div class="Bf Li">literal text
+<p class="Pp">literal paragraph</p>
+</div>
+ENDTEST