* mandoc: Test interaction of low-level roff(7) filling requests with .Bd
@ 2019-01-04 4:04 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-01-04 4:04 UTC (permalink / raw)
To: source
Log Message:
-----------
Test interaction of low-level roff(7) filling requests with .Bd in general
and filling in .Bd -centered in particular; related to mdoc_term.c rev. 1.372.
Modified Files:
--------------
mandoc/regress/mdoc/Bd:
Makefile
centered.in
centered.out_ascii
centered.out_markdown
Added Files:
-----------
mandoc/regress/mdoc/Bd:
nf.in
nf.out_ascii
nf.out_markdown
Revision Data
-------------
Index: centered.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bd/centered.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bd/centered.in -Lregress/mdoc/Bd/centered.in -u -p -r1.2 -r1.3
--- regress/mdoc/Bd/centered.in
+++ regress/mdoc/Bd/centered.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: centered.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $
+.\" $OpenBSD: centered.in,v 1.3 2019/01/04 03:54:50 schwarze Exp $
.Dd $Mdocdate$
.Dt BD-CENTERED 1
.Os
@@ -9,8 +9,6 @@
preceding text
.br
.Bd -centered -offset indent
-first line of the block
-.br
-second line
+The text in this centered block is wide enough to not fit on one line.
.Ed
following text
--- /dev/null
+++ regress/mdoc/Bd/nf.out_markdown
@@ -0,0 +1,32 @@
+BD-NF(1) - General Commands Manual
+
+# NAME
+
+**Bd-nf** - interaction of no-fill blocks and requests
+
+# DESCRIPTION
+
+initial
+text
+after .nf
+request
+after .fi
+request
+
+ in unfilled
+ block
+ after .fi request
+ in unfilled block
+
+after end
+of unfilled block
+
+> in filled
+> block
+> after .nf request
+> in filled block
+
+after end
+of filled block
+
+OpenBSD - January 4, 2019
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bd/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Bd/Makefile -Lregress/mdoc/Bd/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Bd/Makefile
+++ regress/mdoc/Bd/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.18 2014/12/24 23:31:59 schwarze Exp $
+# $OpenBSD: Makefile,v 1.21 2019/01/04 03:54:50 schwarze Exp $
-REGRESS_TARGETS = beforeNAME blank centered nested spacing
+REGRESS_TARGETS = beforeNAME blank centered nested nf spacing
REGRESS_TARGETS += badargs empty offset-empty offset-neg
REGRESS_TARGETS += break broken unclosed
--- /dev/null
+++ regress/mdoc/Bd/nf.in
@@ -0,0 +1,34 @@
+.\" $OpenBSD: nf.in,v 1.1 2019/01/04 03:54:50 schwarze Exp $
+.Dd $Mdocdate: January 4 2019 $
+.Dt BD-NF 1
+.Os
+.Sh NAME
+.Nm Bd-nf
+.Nd interaction of no-fill blocks and requests
+.Sh DESCRIPTION
+initial
+text
+.nf
+after .nf
+request
+.fi
+after .fi
+request
+.Bd -unfilled
+in unfilled
+block
+.fi
+after .fi request
+in unfilled block
+.Ed
+after end
+of unfilled block
+.Bd -filled
+in filled
+block
+.nf
+after .nf request
+in filled block
+.Ed
+after end
+of filled block
--- /dev/null
+++ regress/mdoc/Bd/nf.out_ascii
@@ -0,0 +1,22 @@
+BD-NF(1) General Commands Manual BD-NF(1)
+
+N\bNA\bAM\bME\bE
+ B\bBd\bd-\b-n\bnf\bf - interaction of no-fill blocks and requests
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ initial text
+ after .nf
+ request
+ after .fi request
+
+ in unfilled
+ block
+ after .fi request in unfilled block
+ after end of unfilled block
+
+ in filled block
+ after .nf request
+ in filled block
+ after end of filled block
+
+OpenBSD January 4, 2019 OpenBSD
Index: centered.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bd/centered.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bd/centered.out_ascii -Lregress/mdoc/Bd/centered.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Bd/centered.out_ascii
+++ regress/mdoc/Bd/centered.out_ascii
@@ -6,8 +6,8 @@ N\bNA\bAM\bME\bE
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
preceding text
- first line of the block
- second line
+ The text in this centered block is wide enough to not fit on one
+ line.
following text
-OpenBSD July 4, 2017 OpenBSD
+OpenBSD January 4, 2019 OpenBSD
Index: centered.out_markdown
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Bd/centered.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bd/centered.out_markdown -Lregress/mdoc/Bd/centered.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Bd/centered.out_markdown
+++ regress/mdoc/Bd/centered.out_markdown
@@ -8,9 +8,8 @@ BD-CENTERED(1) - General Commands Manual
preceding text
-> first line of the block
-> second line
+> The text in this centered block is wide enough to not fit on one line.
following text
-OpenBSD - July 4, 2017
+OpenBSD - January 4, 2019
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-04 4:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 4:04 mandoc: Test interaction of low-level roff(7) filling requests with .Bd schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).