aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-08 14:45:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-08 14:45:55 +0000
commit51ca12e3bb02516f826a3325bc86d02263cfcede (patch)
tree06d7cc129ad313aedea9bde228b1c488fee31c83 /regress/mdoc/Bl
parent18041b0d660f58378f38e359b6f6f0304cbdde21 (diff)
downloadmandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.tar.gz
mandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.tar.zst
mandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.zip
enable -T markdown tests of filled displays and tagged lists
Diffstat (limited to 'regress/mdoc/Bl')
-rw-r--r--regress/mdoc/Bl/Makefile9
-rw-r--r--regress/mdoc/Bl/badargs.out_markdown60
-rw-r--r--regress/mdoc/Bl/breakingIt.out_markdown69
-rw-r--r--regress/mdoc/Bl/broken.out_markdown27
-rw-r--r--regress/mdoc/Bl/emptyhead.out_markdown51
-rw-r--r--regress/mdoc/Bl/emptytag.out_markdown23
-rw-r--r--regress/mdoc/Bl/extend.out_markdown23
-rw-r--r--regress/mdoc/Bl/hang.out_markdown118
-rw-r--r--regress/mdoc/Bl/multitag.out_markdown65
-rw-r--r--regress/mdoc/Bl/nested.out_markdown81
-rw-r--r--regress/mdoc/Bl/noIt.out_markdown23
-rw-r--r--regress/mdoc/Bl/offset.out_markdown63
-rw-r--r--regress/mdoc/Bl/secstart.out_markdown34
-rw-r--r--regress/mdoc/Bl/tag.out_markdown175
14 files changed, 817 insertions, 4 deletions
diff --git a/regress/mdoc/Bl/Makefile b/regress/mdoc/Bl/Makefile
index b948d69f..45b1e113 100644
--- a/regress/mdoc/Bl/Makefile
+++ b/regress/mdoc/Bl/Makefile
@@ -13,10 +13,11 @@ LINT_TARGETS = column notype badargs tag
LINT_TARGETS += empty noIt emptyhead emptytag emptyitem
LINT_TARGETS += bareIt bareTa break breakingIt broken
-MARKDOWN_TARGETS = item inset diag ohang bullet dash enum
-MARKDOWN_TARGETS += notype multitype
-MARKDOWN_TARGETS += empty emptyitem
-MARKDOWN_TARGETS += bareIt bareTa unclosed breakingTa
+MARKDOWN_TARGETS = item inset diag ohang bullet dash enum hang tag
+MARKDOWN_TARGETS += extend nested offset secstart
+MARKDOWN_TARGETS += notype multitype badargs
+MARKDOWN_TARGETS += empty noIt emptyhead emptytag emptyitem multitag
+MARKDOWN_TARGETS += bareIt bareTa unclosed breakingIt breakingTa broken
# groff-mandoc differences:
# - groff allows enclosures to span Ta, mandoc does not
diff --git a/regress/mdoc/Bl/badargs.out_markdown b/regress/mdoc/Bl/badargs.out_markdown
new file mode 100644
index 00000000..474364d3
--- /dev/null
+++ b/regress/mdoc/Bl/badargs.out_markdown
@@ -0,0 +1,60 @@
+BL-BADARGS(1) - General Commands Manual
+
+# NAME
+
+**Bl-badargs** - list with bad arguments
+
+# DESCRIPTION
+
+trailing -offset:
+
+* is ignored
+
+trailing -width:
+
+* bullet
+
+- dash
+
+- hyphen
+
+hang
+
+> item
+
+tag
+
+> Here we need a very long line.
+> It must be sufficiently long such that it wraps the line.
+
+double type:
+
+* bullet enum
+
+1. enum bullet
+
+unknown arguments:
+
+* bullet text
+
+1. enum text
+
+inset
+text
+
+item text
+
+ohang
+text
+
+tag
+
+> text
+
+double arguments:
+
+last
+
+> wins
+
+OpenBSD - February 4, 2015
diff --git a/regress/mdoc/Bl/breakingIt.out_markdown b/regress/mdoc/Bl/breakingIt.out_markdown
new file mode 100644
index 00000000..c6c3de6a
--- /dev/null
+++ b/regress/mdoc/Bl/breakingIt.out_markdown
@@ -0,0 +1,69 @@
+BL-BREAKINGIT(1) - General Commands Manual
+
+# NAME
+
+**Bl-breakingIt** - items breaking other blocks
+
+# DESCRIPTION
+
+## Breaking partial explicit macros
+
+Stray text.
+&lt;More stray text.&gt;
+
+tag
+
+> Tagged text.
+
+Stray text.
+&lt;More stray text.&gt;
+
+* Bullet point.
+
+tag
+
+> Tagged text.
+> &lt;More tagged text.&gt;
+
+tag2
+
+> Yet more tagged text.
+
+* Item text.
+ &lt;More item text.&gt;
+
+* Bullet point.
+
+## Breaking full explicit macros
+
+Stray text.
+
+> More stray text.
+
+tag
+
+> Tagged text.
+
+Stray text.
+
+> More stray text.
+
+* Bullet point.
+
+tag
+
+> Tagged text.
+
+> > Display text.
+
+tag2
+
+> More tagged text.
+
+* Item text.
+
+ > Display text.
+
+* Bullet point.
+
+OpenBSD - February 3, 2015
diff --git a/regress/mdoc/Bl/broken.out_markdown b/regress/mdoc/Bl/broken.out_markdown
new file mode 100644
index 00000000..fb34a052
--- /dev/null
+++ b/regress/mdoc/Bl/broken.out_markdown
@@ -0,0 +1,27 @@
+BL-BROKEN(1) - General Commands Manual
+
+# NAME
+
+**Bl-broken** - list broken by another block
+
+# DESCRIPTION
+
+before both
+\[before list
+
+1. inside both]
+ after bracket
+
+after list
+\[before list
+
+1. inside list
+
+ > inside display]
+ > after bracket
+
+2. next item
+
+after list
+
+OpenBSD - February 12, 2015
diff --git a/regress/mdoc/Bl/emptyhead.out_markdown b/regress/mdoc/Bl/emptyhead.out_markdown
new file mode 100644
index 00000000..08818932
--- /dev/null
+++ b/regress/mdoc/Bl/emptyhead.out_markdown
@@ -0,0 +1,51 @@
+BL-EMPTYHEAD(1) - General Commands Manual
+
+# NAME
+
+**Bl-emptyhead** - lists with empty item heads
+
+# DESCRIPTION
+
+hang list:
+
+tag
+
+> text
+
+> no tag before this text
+
+tag
+
+> text
+
+ohang list:
+
+tag
+text
+
+no tag before this text
+
+tag
+text
+
+inset list:
+
+tag
+text
+
+no tag before this text
+
+tag
+text
+
+diag list:
+
+tag
+text
+
+no tag before this text
+
+tag
+text
+
+OpenBSD - July 3, 2014
diff --git a/regress/mdoc/Bl/emptytag.out_markdown b/regress/mdoc/Bl/emptytag.out_markdown
new file mode 100644
index 00000000..39db2545
--- /dev/null
+++ b/regress/mdoc/Bl/emptytag.out_markdown
@@ -0,0 +1,23 @@
+BL-EMPTYTAG(1) - General Commands Manual
+
+# NAME
+
+**Bl-emptytag** - tag lists with empty item heads
+
+# DESCRIPTION
+
+initial text
+
+tag
+
+> text
+
+> no tag before this text
+
+tag
+
+> text
+
+final text
+
+OpenBSD - July 3, 2014
diff --git a/regress/mdoc/Bl/extend.out_markdown b/regress/mdoc/Bl/extend.out_markdown
new file mode 100644
index 00000000..7164d854
--- /dev/null
+++ b/regress/mdoc/Bl/extend.out_markdown
@@ -0,0 +1,23 @@
+BL-EXTEND(1) - General Commands Manual
+
+# NAME
+
+**Bl-extend** - extending block headers
+
+# DESCRIPTION
+
+&lt;plain quoted text&gt;
+
+normal tag
+
+> normal text
+
+&lt;extended tag&gt;
+
+> extended text
+
+prefix &lt;prefixed tag&gt;
+
+> prefixed text
+
+OpenBSD - April 12, 2010
diff --git a/regress/mdoc/Bl/hang.out_markdown b/regress/mdoc/Bl/hang.out_markdown
new file mode 100644
index 00000000..f2f20def
--- /dev/null
+++ b/regress/mdoc/Bl/hang.out_markdown
@@ -0,0 +1,118 @@
+BL-HANG(1) - General Commands Manual
+
+# NAME
+
+**Bl-hang** - hanged lists
+
+# DESCRIPTION
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+four
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+quint
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+indent
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+septime
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+achtacht
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+neun\_neun
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+zehn\_\_zehn
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+This is a very long text contained in the hanged item head, it is so long that it overruns the line -
+
+> and here comes the item body.
+
+Compact hanged list:
+
+one
+
+> first line
+
+second
+
+> second line
+
+third\_tag
+
+> last line
+
+Hanged list without a width:
+
+tag
+
+> text
+
+OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/multitag.out_markdown b/regress/mdoc/Bl/multitag.out_markdown
new file mode 100644
index 00000000..cedea6cb
--- /dev/null
+++ b/regress/mdoc/Bl/multitag.out_markdown
@@ -0,0 +1,65 @@
+BL-MULTITAG(1) - General Commands Manual
+
+# NAME
+
+**Bl-multitag** - lists with multiple successive tags
+
+# DESCRIPTION
+
+inset:
+
+first
+
+second
+
+third
+some text
+
+fourth
+
+fifth
+more text
+
+tag:
+
+first
+
+second
+
+third
+
+> some text
+
+fourth
+
+fifth
+
+> more text
+
+inset compact:
+
+first
+second
+third
+some text
+fourth
+fifth
+more text
+
+tag compact:
+
+first
+
+second
+
+third
+
+> some text
+
+fourth
+
+fifth
+
+> more text
+
+OpenBSD - April 13, 2010
diff --git a/regress/mdoc/Bl/nested.out_markdown b/regress/mdoc/Bl/nested.out_markdown
new file mode 100644
index 00000000..6bc694dd
--- /dev/null
+++ b/regress/mdoc/Bl/nested.out_markdown
@@ -0,0 +1,81 @@
+BL-NESTED(1) - General Commands Manual
+
+# NAME
+
+**Bl-nested** - nested lists
+
+# DESCRIPTION
+
+inset:
+
+outer
+list
+
+inner
+list
+
+inset compact:
+
+outer
+list
+
+inner
+list
+
+dash:
+
+- outer list
+
+ - inner list
+
+dash compact:
+
+- outer list
+
+ - inner list
+
+tag:
+
+outer tag
+
+> outer text
+
+> inner tag
+
+> > inner text
+
+> outer text
+
+outer tag
+
+> > outer text (display)
+
+> inner tag
+
+> > inner text
+
+> outer text
+
+outer tag
+
+> > outer text (one-line display)
+
+> inner tag
+
+> > inner text
+
+> outer text
+
+outer tag (indented 3n)
+
+> outer text
+
+> inner tag (indented 6n)
+
+> > inner text
+
+> outer text
+
+final text
+
+OpenBSD - May 19, 2013
diff --git a/regress/mdoc/Bl/noIt.out_markdown b/regress/mdoc/Bl/noIt.out_markdown
new file mode 100644
index 00000000..a2fc0876
--- /dev/null
+++ b/regress/mdoc/Bl/noIt.out_markdown
@@ -0,0 +1,23 @@
+BL-NOIT(1) - General Commands Manual
+
+# NAME
+
+**Bl-noIt** - list missing item macros
+
+# DESCRIPTION
+
+Stray text.
+*More stray text.*
+
+tag
+
+> Tagged text.
+
+Stray text.
+*More*&zwnj;**stray**&zwnj;*text.*
+
+* Bullet point.
+
+Stray text only.
+
+OpenBSD - October 6, 2013
diff --git a/regress/mdoc/Bl/offset.out_markdown b/regress/mdoc/Bl/offset.out_markdown
new file mode 100644
index 00000000..807950be
--- /dev/null
+++ b/regress/mdoc/Bl/offset.out_markdown
@@ -0,0 +1,63 @@
+BL-OFFSET(1) - General Commands Manual
+
+# NAME
+
+**Bl-offset** - various arguments for Bl offset
+
+# DESCRIPTION
+
+Bl item offset empty
+
+Bl item offset left
+
+Bl item offset indent
+
+Bl item offset indent-two
+
+Bl item offset 4n
+
+Bl item offset mystring
+
+Bl item offset Ds
+
+Bl item offset 78n
+
+Bl item offset -3n
+
+tag
+
+> Bl tag width Ds offset empty
+
+tag
+
+> Bl tag width Ds offset left
+
+tag
+
+> Bl tag width Ds offset indent
+
+tag
+
+> Bl tag width Ds offset indent-two
+
+tag
+
+> Bl tag width Ds offset 4n
+
+tag
+
+> Bl tag width Ds offset mystring
+
+tag
+
+> Bl tag width Ds offset Ds
+
+tag
+
+> Bl tag width Ds offset 78n
+
+tag
+
+> Bl tag width Ds offset -3n
+
+OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/secstart.out_markdown b/regress/mdoc/Bl/secstart.out_markdown
new file mode 100644
index 00000000..478788b0
--- /dev/null
+++ b/regress/mdoc/Bl/secstart.out_markdown
@@ -0,0 +1,34 @@
+BL-SECSTART(1) - General Commands Manual
+
+# NAME
+
+**Bl-secstart** - nested lists at the beginning of sections
+
+# DESCRIPTION
+
+## item
+
+text
+
+## dash
+
+-
+
+ - text
+
+## inset
+
+outer
+
+inner
+text
+
+## tag
+
+outer tag
+
+> inner tag
+
+> > text
+
+OpenBSD - November 10, 2014
diff --git a/regress/mdoc/Bl/tag.out_markdown b/regress/mdoc/Bl/tag.out_markdown
new file mode 100644
index 00000000..e976e8db
--- /dev/null
+++ b/regress/mdoc/Bl/tag.out_markdown
@@ -0,0 +1,175 @@
+BL-TAG(1) - General Commands Manual
+
+# NAME
+
+**Bl-tag** - tagged lists
+
+# DESCRIPTION
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+tag
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+four
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+quint
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+indent
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+septime
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+achtacht
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+neun neun
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+zehn\_ zehn
+
+> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+This is a very long text contained in the tag, it is so long that it overruns the line -
+
+> and here comes the item body.
+
+hundred
+
+> text text
+
+Trailing white space in the head:
+
+a
+
+> none
+
+a
+
+> one
+
+a
+
+> two
+
+a
+
+> three
+
+a
+
+> four
+
+a
+
+> five
+
+a
+
+> six
+
+
+
+> white space only
+
+Non-numeric width specification:
+
+tag
+
+> text
+
+tag
+
+> text
+
+Scaling units other than n:
+
+tag
+
+> text
+
+tag
+
+> text
+
+tag
+
+> text
+
+Default width:
+
+tag
+
+> text
+
+long tag
+
+> long text
+
+**tag** *with markup*
+
+> text
+
+Indented list:
+
+one
+
+> first text
+
+two
+
+> second text
+
+Embedded paragraph:
+
+tag
+
+> first paragraph
+
+> second paragraph
+
+OpenBSD - September 21, 2015