aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Rs/three_authors.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 19:01:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 19:01:52 +0000
commite34eebeaa729c7d5cc258b87d5a6edd409cfaea2 (patch)
treee7ce81f41c55fcbeddff137f27cc0aaaf7542a3a /regress/mdoc/Rs/three_authors.in
parent0fa73731889c2ae8170a8e5d38b5023ff6c6f321 (diff)
downloadmandoc-e34eebeaa729c7d5cc258b87d5a6edd409cfaea2.tar.gz
mandoc-e34eebeaa729c7d5cc258b87d5a6edd409cfaea2.tar.zst
mandoc-e34eebeaa729c7d5cc258b87d5a6edd409cfaea2.zip
Properly handle -mdoc %A in all outputs. This has two-author entires
separated by only "and" while two or more are with ", and" for the last author. Also remove relevant TODO and add regression tests.
Diffstat (limited to 'regress/mdoc/Rs/three_authors.in')
-rw-r--r--regress/mdoc/Rs/three_authors.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/mdoc/Rs/three_authors.in b/regress/mdoc/Rs/three_authors.in
new file mode 100644
index 00000000..245023c5
--- /dev/null
+++ b/regress/mdoc/Rs/three_authors.in
@@ -0,0 +1,17 @@
+.Dd May 1, 2009
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+blah blah
+.Pp
+.Rs
+.%A billy-bob
+.%A joe
+.%A frank
+.%T title
+.Re
+.Pp
+and so on