aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-06 10:50:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-06 10:50:56 +0000
commit55591c02f9e55af205461f7ee1e172fad85586c8 (patch)
tree7c56b4ed771deb25caadbe820f721a023f642893 /regress
parent7e2c70e4c592c2dd58f254e10b2cacecb4660130 (diff)
downloadmandoc-55591c02f9e55af205461f7ee1e172fad85586c8.tar.gz
mandoc-55591c02f9e55af205461f7ee1e172fad85586c8.tar.zst
mandoc-55591c02f9e55af205461f7ee1e172fad85586c8.zip
Fixed -Tascii and -Thtml rendering of `Ft' and `Fo'.
Diffstat (limited to 'regress')
-rw-r--r--regress/mdoc/Fo/fo0.in32
-rw-r--r--regress/mdoc/Ft/before-fn.in21
-rw-r--r--regress/mdoc/Ft/before-fo.in21
-rw-r--r--regress/mdoc/Ft/ft0.in25
4 files changed, 99 insertions, 0 deletions
diff --git a/regress/mdoc/Fo/fo0.in b/regress/mdoc/Fo/fo0.in
new file mode 100644
index 00000000..2c7e3886
--- /dev/null
+++ b/regress/mdoc/Fo/fo0.in
@@ -0,0 +1,32 @@
+.Dd $Mdocdate: June 6 2010 $
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+.Fn b
+a
+.Fo b
+.Fc
+.Fo "a b c"
+.Fc
+.Ft "a"
+.Fo "b c"
+.Fc
+.Ft "a b"
+.Fo "b c" "d e"
+.Fc
+.Sh DESCRIPTION
+.Fn b
+a
+.Fo b
+.Fc
+.Fo "a b c"
+.Fc
+.Ft "a"
+.Fo "b c"
+.Fc
+.Ft "a b"
+.Fo "b c" "d e"
+.Fc
diff --git a/regress/mdoc/Ft/before-fn.in b/regress/mdoc/Ft/before-fn.in
new file mode 100644
index 00000000..dc16dd86
--- /dev/null
+++ b/regress/mdoc/Ft/before-fn.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate: June 6 2010 $
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+.Fn b \" Get this out of the way.
+.Ft a
+.Fn b "c d"
+.Ft 1
+.Ft 2
+.Fn b "c d"
+.Fn b "c d"
+.Sh DESCRIPTION
+.Ft a
+.Fn b "c d"
+.Ft 1
+.Ft 2
+.Fn b "c d"
+.Fn b "c d"
diff --git a/regress/mdoc/Ft/before-fo.in b/regress/mdoc/Ft/before-fo.in
new file mode 100644
index 00000000..6587aeb7
--- /dev/null
+++ b/regress/mdoc/Ft/before-fo.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate: June 6 2010 $
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+.Fn b \" Get this out of the way.
+.Ft a
+.Fo b
+.Fa "c d"
+.Fc
+.Ft 1
+.Ft 2
+.Sh DESCRIPTION
+.Ft a
+.Fo b
+.Fa "c d"
+.Fc
+.Ft 1
+.Ft 2
diff --git a/regress/mdoc/Ft/ft0.in b/regress/mdoc/Ft/ft0.in
new file mode 100644
index 00000000..b805127c
--- /dev/null
+++ b/regress/mdoc/Ft/ft0.in
@@ -0,0 +1,25 @@
+.Dd $Mdocdate: June 6 2010 $
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+.Fn b \" Get this out of the way.
+.Ft a
+.Ft b
+a
+.Ft "c d"
+b
+.Ar foo
+.Ft "c d"
+.Ar bar
+.Sh DESCRIPTION
+.Ft a
+.Ft b
+a
+.Ft "c d"
+b
+.Ar foo
+.Ft "c d"
+.Ar bar