From 16173bda3531a2bb54b45b2e327c8b7e2cf37fd6 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 12 Jun 2010 11:41:50 +0000 Subject: Removed stipulation that an empty `Bd -offset' will default to 6n. Not sure where this came about. Added regression tests to convince myself that this is so. Also consolidated COMPATIBILITY notes regarding `Bd'. Added COMPATIBILITY note to the effect that old groff pukes on `Bd -compact -ragged' (regression test will fail on old groff). --- regress/mdoc/Bd/bd-compact.in | 33 +++++++++++++++++++++++++++++++++ regress/mdoc/Bd/bd-empty-offset.in | 31 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 regress/mdoc/Bd/bd-compact.in create mode 100644 regress/mdoc/Bd/bd-empty-offset.in (limited to 'regress/mdoc/Bd') diff --git a/regress/mdoc/Bd/bd-compact.in b/regress/mdoc/Bd/bd-compact.in new file mode 100644 index 00000000..a6cf21db --- /dev/null +++ b/regress/mdoc/Bd/bd-compact.in @@ -0,0 +1,33 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +1 +.Bd -literal -compact +a b +c d +.Ed +2 +1 +.Bd -filled -compact +a b +c d +.Ed +2 +3 +.\" NOTE: OLD GROFF WILL PUKE HERE, AS IT BUGGILY FORGETS TO EMIT A +.\" NEWLINE BEFORE THE DISPLAY. +.Bd -ragged -compact +a b +c d +.Ed +2 +1 +.Bd -unfilled -compact +a b +c d +.Ed +2 diff --git a/regress/mdoc/Bd/bd-empty-offset.in b/regress/mdoc/Bd/bd-empty-offset.in new file mode 100644 index 00000000..1bb6126c --- /dev/null +++ b/regress/mdoc/Bd/bd-empty-offset.in @@ -0,0 +1,31 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +1 +.Bd -literal -offset +a b +c d +.Ed +2 +1 +.Bd -filled -offset +a b +c d +.Ed +2 +1 +.Bd -ragged -offset +a b +c d +.Ed +2 +1 +.Bd -unfilled -offset +a b +c d +.Ed +2 -- cgit