summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-08 16:50:37 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-08 16:50:37 +0000
commit576ac457378db6a2f9b51202cd8b136d64844f6d (patch)
treec5fadf96391c3cad70afba27800cbde0ac849472 /regress/usr.bin
parentc9ee7a0265cb70748a8592d39507ffe384405694 (diff)
implement -Tman .An
also reset -[no]split mode at .Sh AUTHORS in -Tascii
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/mdoc/An/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/An/break.in31
-rw-r--r--regress/usr.bin/mandoc/mdoc/An/break.out_ascii21
-rw-r--r--regress/usr.bin/mandoc/mdoc/Makefile4
4 files changed, 59 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/An/Makefile b/regress/usr.bin/mandoc/mdoc/An/Makefile
new file mode 100644
index 00000000000..1d2356173e6
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/An/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/07/08 16:50:36 schwarze Exp $
+
+REGRESS_TARGETS = break
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/An/break.in b/regress/usr.bin/mandoc/mdoc/An/break.in
new file mode 100644
index 00000000000..5e6d596475b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/An/break.in
@@ -0,0 +1,31 @@
+.Dd July 8, 2012
+.Dt AN-BREAK 1
+.Os OpenBSD
+.Sh NAME
+.Nm An-break
+.Nd line breaking of the author macro
+.Sh DESCRIPTION
+inline is the default:
+.An Kristaps ,
+.An Ingo ,
+and
+.An Joerg .
+.Pp
+.An -split
+split mode:
+.An Kristaps
+.An Ingo
+.An Joerg
+.An -nosplit
+.Sh AUTHORS
+split mode is the default:
+.An Kristaps
+.An Ingo
+.An Joerg
+.An -nosplit
+.Pp
+inline:
+.An Kristaps ,
+.An Ingo ,
+and
+.An Joerg .
diff --git a/regress/usr.bin/mandoc/mdoc/An/break.out_ascii b/regress/usr.bin/mandoc/mdoc/An/break.out_ascii
new file mode 100644
index 00000000000..68035c9581e
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/An/break.out_ascii
@@ -0,0 +1,21 @@
+AN-BREAK(1) OpenBSD Reference Manual AN-BREAK(1)
+
+NNAAMMEE
+ AAnn--bbrreeaakk - line breaking of the author macro
+
+DDEESSCCRRIIPPTTIIOONN
+ inline is the default: Kristaps, Ingo, and Joerg.
+
+ split mode:
+ Kristaps
+ Ingo
+ Joerg
+
+AAUUTTHHOORRSS
+ split mode is the default: Kristaps
+ Ingo
+ Joerg
+
+ inline: Kristaps, Ingo, and Joerg.
+
+OpenBSD July 8, 2012 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile
index bda3aa3af95..ce5b7afc7e7 100644
--- a/regress/usr.bin/mandoc/mdoc/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.18 2012/07/07 14:10:55 schwarze Exp $
+# $OpenBSD: Makefile,v 1.19 2012/07/08 16:50:36 schwarze Exp $
-SUBDIR += Ad Ap Aq Ar At Bd Bk Bl Brq Bx Cd Cm D1 Dl Dq Dv Er Ev Fl Fo
+SUBDIR += Ad An Ap Aq Ar At Bd Bk Bl Brq Bx Cd Cm D1 Dl Dq Dv Er Ev Fl Fo
SUBDIR += Ic In Lb Li Ms Mt Nd Nm No Ns Oo Op Ox Pf Pp Qq Rs
SUBDIR += Sm Sq St Sx Sy Tn Ux Vt Xr blank