summaryrefslogtreecommitdiffstats
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
commitcbb95644f4f29dc2eeced60e1e0eb4e078df2d8d (patch)
treeb5a8c2cb5086223f7cdc841c023e583f8d0f19fe /regress
parent18ce0cffef9ab74b714f5947c121b18b6e7a146f (diff)
downloadmandoc-cbb95644f4f29dc2eeced60e1e0eb4e078df2d8d.tar.gz
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..4ff66510
--- /dev/null
+++ b/regress/mdoc/Fo/fo0.in
@@ -0,0 +1,32 @@
+.Dd $Mdocdate$
+.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..10ef2ad3
--- /dev/null
+++ b/regress/mdoc/Ft/before-fn.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate$
+.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..9d55f829
--- /dev/null
+++ b/regress/mdoc/Ft/before-fo.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate$
+.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..d7f6cc68
--- /dev/null
+++ b/regress/mdoc/Ft/ft0.in
@@ -0,0 +1,25 @@
+.Dd $Mdocdate$
+.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