summaryrefslogtreecommitdiffstats
path: root/regress/mdoc
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 15:42:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 15:42:09 +0000
commit4e6de631247e651c0cdb6f83ef3f819d7c8fd390 (patch)
treeeadbef674d38c1fbee07a8ed27dfb2e5b3388bac /regress/mdoc
parent57a28b7a61012e5f8378170afd8bf060000a4a08 (diff)
downloadmandoc-4e6de631247e651c0cdb6f83ef3f819d7c8fd390.tar.gz
Add ability to interpret initial free-form lines as part of a `Bl
-column' up until the first `It'. This is UGLY and should have all sorts of warnings, and will. On the one hand, it fits with groff's notion of tabs and tab-spaces. On the other hand, it's not really "free-form" text any more. Note that this does not yet accomodate for macros coming on these lines.
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/It/freecol0.in11
-rw-r--r--regress/mdoc/It/freecol1.in12
-rw-r--r--regress/mdoc/It/freecol2.in16
3 files changed, 39 insertions, 0 deletions
diff --git a/regress/mdoc/It/freecol0.in b/regress/mdoc/It/freecol0.in
new file mode 100644
index 00000000..721c0682
--- /dev/null
+++ b/regress/mdoc/It/freecol0.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate$
+.Dt FOO
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+hello
+.Bl -column asdfasdf asdfasdf
+hello there
+.El
diff --git a/regress/mdoc/It/freecol1.in b/regress/mdoc/It/freecol1.in
new file mode 100644
index 00000000..efef7ee4
--- /dev/null
+++ b/regress/mdoc/It/freecol1.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+hello
+.Bl -column asdfasdf asdfasdf
+hello there
+hello there
+.El
diff --git a/regress/mdoc/It/freecol2.in b/regress/mdoc/It/freecol2.in
new file mode 100644
index 00000000..9f0dd416
--- /dev/null
+++ b/regress/mdoc/It/freecol2.in
@@ -0,0 +1,16 @@
+.Dd $Mdocdate$
+.Dt FOO
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+hello
+.Bl -column asdfasdf asdfasdf
+hello there
+hello there
+.It hello there
+.It hello Ta there
+.It hello Ta
+there
+.El