aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
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
commit21bb451eea95935f615ded5d57dc8c6c9d2224f8 (patch)
treec5d5dd4919b2c176c72b1c15cec53c5535dda349 /regress
parent021bc3db05c09297aa2ca95496a414c675652db4 (diff)
downloadmandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.tar.gz
mandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.tar.zst
mandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.zip
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')
-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..b3b97c43
--- /dev/null
+++ b/regress/mdoc/It/freecol0.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate: May 31 2010 $
+.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..7f6049db
--- /dev/null
+++ b/regress/mdoc/It/freecol1.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate: May 31 2010 $
+.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..d027b0e1
--- /dev/null
+++ b/regress/mdoc/It/freecol2.in
@@ -0,0 +1,16 @@
+.Dd $Mdocdate: May 31 2010 $
+.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