summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-11 16:55:30 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-11 16:55:30 +0000
commitfe26b978edadb50ff2cd57df674b60c4dae810ce (patch)
treec91c1b5a55adf06633d6df8721225ed7378319c6 /regress/usr.bin
parent9c7fd97e2271d92e7b9291b1706c2713f6484585 (diff)
fix position and formatting of %U
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Rs/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Rs/allch.in44
-rw-r--r--regress/usr.bin/mandoc/mdoc/Rs/allch.out_ascii20
3 files changed, 66 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Rs/Makefile b/regress/usr.bin/mandoc/mdoc/Rs/Makefile
index e6f777ef883..873550fb6f1 100644
--- a/regress/usr.bin/mandoc/mdoc/Rs/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Rs/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.3 2011/11/17 16:28:46 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2012/07/11 16:55:29 schwarze Exp $
-REGRESS_TARGETS=break three_authors
+REGRESS_TARGETS=allch break three_authors
SKIP_TMAN ?= ALL
diff --git a/regress/usr.bin/mandoc/mdoc/Rs/allch.in b/regress/usr.bin/mandoc/mdoc/Rs/allch.in
new file mode 100644
index 00000000000..598a5404946
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Rs/allch.in
@@ -0,0 +1,44 @@
+.Dd July 12, 2012
+.Dt RS-ALLCH 1
+.Os OpenBSD
+.Sh NAME
+.Nm Rs-allch
+.Nd reference block using all supported child macros
+.Sh DESCRIPTION
+reference on the same line:
+.Rs
+.%A author name
+.%T title of article
+.%B book title
+.%I issuer name
+.%J journal name
+.%R report name
+.%N number of journal
+.%V volume number
+.%U uniform resource locator
+.%P page number
+.%Q institutional author
+.%D date of publication
+.%O optional information
+.\" not implemented yet in groff:
+.\" .%C city name
+.Re
+.Sh SEE ALSO
+reference after a blank line:
+.Rs
+.%A author name
+.%T title of article
+.%B book title
+.%I issuer name
+.%J journal name
+.%R report name
+.%N number of journal
+.%V volume number
+.%U uniform resource locator
+.%P page number
+.%Q institutional author
+.%D date of publication
+.%O optional information
+.\" not implemented yet in groff:
+.\" .%C city name
+.Re
diff --git a/regress/usr.bin/mandoc/mdoc/Rs/allch.out_ascii b/regress/usr.bin/mandoc/mdoc/Rs/allch.out_ascii
new file mode 100644
index 00000000000..30d5953a0ea
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Rs/allch.out_ascii
@@ -0,0 +1,20 @@
+RS-ALLCH(1) OpenBSD Reference Manual RS-ALLCH(1)
+
+NNAAMMEE
+ RRss--aallllcchh - reference block using all supported child macros
+
+DDEESSCCRRIIPPTTIIOONN
+ reference on the same line: author name, "title of article", _b_o_o_k _t_i_t_l_e,
+ _i_s_s_u_e_r _n_a_m_e, _j_o_u_r_n_a_l _n_a_m_e, report name, number of journal, volume number,
+ uniform resource locator, page number, institutional author, date of
+ publication, optional information.
+
+SSEEEE AALLSSOO
+ reference after a blank line:
+
+ author name, "title of article", _b_o_o_k _t_i_t_l_e, _i_s_s_u_e_r _n_a_m_e, _j_o_u_r_n_a_l _n_a_m_e,
+ report name, number of journal, volume number, uniform resource locator,
+ page number, institutional author, date of publication, optional
+ information.
+
+OpenBSD July 12, 2012 OpenBSD