From ef2cdd2d2fb60c0467aceaa6aed093e67345f1ac Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 19 Nov 2014 21:59:21 +0000 Subject: Let .Ao and .Aq render as "<>" after .An and as "\(la\(ra" elsewhere, just like groff; minibug noticed by bentley@. --- regress/usr.bin/mandoc/mdoc/Aq/Makefile | 5 +++-- regress/usr.bin/mandoc/mdoc/Aq/author.in | 10 ++++++++++ regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii | 13 +++++++++++++ regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 | 13 +++++++++++++ regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 | 9 +++++++++ 5 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 regress/usr.bin/mandoc/mdoc/Aq/author.in create mode 100644 regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii create mode 100644 regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 create mode 100644 regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 (limited to 'regress/usr.bin/mandoc') diff --git a/regress/usr.bin/mandoc/mdoc/Aq/Makefile b/regress/usr.bin/mandoc/mdoc/Aq/Makefile index bbc1d584975..ae347ad37d9 100644 --- a/regress/usr.bin/mandoc/mdoc/Aq/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Aq/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2011/12/04 03:09:25 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2014/11/19 21:59:20 schwarze Exp $ -REGRESS_TARGETS=empty +REGRESS_TARGETS = author empty +UTF8_TARGETS = author empty .include diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.in b/regress/usr.bin/mandoc/mdoc/Aq/author.in new file mode 100644 index 00000000000..9e007f5899b --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Aq/author.in @@ -0,0 +1,10 @@ +.Dd November 19, 2014 +.Dt AQ-AUTHOR 1 +.Os OpenBSD +.Sh NAME +.Nm Aq-author +.Nd angle brackets after an author name macro +.Sh DESCRIPTION +.An Name Ao Mt addr Ac An Name Aq Mt addr +.Sh AUTHORS +.An Name Ao Mt addr Ac An Name Aq Mt addr diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii b/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii new file mode 100644 index 00000000000..80775148bf4 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii @@ -0,0 +1,13 @@ +AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1) + +NNAAMMEE + AAqq--aauutthhoorr - angle brackets after an author name macro + +DDEESSCCRRIIPPTTIIOONN + Name <_a_d_d_r> Name <_a_d_d_r> + +AAUUTTHHOORRSS + Name <_a_d_d_r> + Name <_a_d_d_r> + +OpenBSD November 19, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 b/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 new file mode 100644 index 00000000000..28c4faca702 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 @@ -0,0 +1,13 @@ +AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1) + +NNAAMMEE + AAqq--aauutthhoorr – angle brackets after an author name macro + +DDEESSCCRRIIPPTTIIOONN + Name <_a_d_d_r> Name <_a_d_d_r> + +AAUUTTHHOORRSS + Name <_a_d_d_r> + Name <_a_d_d_r> + +OpenBSD November 19, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 new file mode 100644 index 00000000000..0ae72b6f239 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 @@ -0,0 +1,9 @@ +AQ-EMPTY(1) General Commands Manual AQ-EMPTY(1) + +NNAAMMEE + AAqq--eemmppttyy – empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty ⟨⟩ and a full ⟨user@host⟩ return path. And another ⟨full⟩ one. + +OpenBSD August 6, 2010 OpenBSD -- cgit v1.2.3