From 1dcbde3e1a6941a3253b1fbda8cbb0c765636066 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 17 Feb 2017 18:28:06 +0000 Subject: Many people have been complaining for a long time that ``...'' looks ugly in -Tascii output. For that reason, bentley@ submitted patches to render "..." instead to groff in November 2014 (yes, more than two years ago). Carsten Kunze yesterday merged them for the upcoming groff-1.22.4 release. Yay! Consequently, do the same in mandoc: Render \(Lq and \(Rq (which are used for .Do, .Dq, .Lb, and .St) as '"' in -Tascii output. All other output modes including -Tutf8 remain unchanged. --- regress/mdoc/Dq/empty.out_ascii | 3 +-- regress/mdoc/Lb/badargs.out_ascii | 4 ++-- regress/mdoc/Lb/break.out_ascii | 4 ++-- regress/mdoc/Lb/eos.out_ascii | 2 +- regress/mdoc/Op/broken.out_ascii | 4 ++-- regress/mdoc/St/badargs.out_ascii | 4 ++-- regress/mdoc/St/call.out_ascii | 2 +- regress/roff/cond/before-Dd.out_ascii | 2 +- regress/roff/de/escname.out_ascii | 2 +- regress/roff/esc/c.out_ascii | 2 +- 10 files changed, 14 insertions(+), 15 deletions(-) (limited to 'regress') diff --git a/regress/mdoc/Dq/empty.out_ascii b/regress/mdoc/Dq/empty.out_ascii index aaa69621..e8f1da5b 100644 --- a/regress/mdoc/Dq/empty.out_ascii +++ b/regress/mdoc/Dq/empty.out_ascii @@ -4,7 +4,6 @@ NNAAMMEE DDqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty ``'' and a full ``user@host'' quotation. And another ``full'' - one. + An empty "" and a full "user@host" quotation. And another "full" one. OpenBSD October 21, 2010 OpenBSD diff --git a/regress/mdoc/Lb/badargs.out_ascii b/regress/mdoc/Lb/badargs.out_ascii index f5bd4afe..cfc2b0ff 100644 --- a/regress/mdoc/Lb/badargs.out_ascii +++ b/regress/mdoc/Lb/badargs.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE LLbb--bbaaddaarrggss - bad arguments to the library macro LLIIBBRRAARRYY - library ``murks'' - library ``mylib'' another + library "murks" + library "mylib" another OpenBSD January 2, 2011 OpenBSD diff --git a/regress/mdoc/Lb/break.out_ascii b/regress/mdoc/Lb/break.out_ascii index 6c9e5698..a6f0eebf 100644 --- a/regress/mdoc/Lb/break.out_ascii +++ b/regress/mdoc/Lb/break.out_ascii @@ -4,10 +4,10 @@ NNAAMMEE LLbb--bbrreeaakk - output line breaks after the library macro LLIIBBRRAARRYY - library ``mylib'' + library "mylib" text DDEESSCCRRIIPPTTIIOONN - library ``mylib'' text + library "mylib" text OpenBSD June 30, 2010 OpenBSD diff --git a/regress/mdoc/Lb/eos.out_ascii b/regress/mdoc/Lb/eos.out_ascii index bbb726f1..0db13295 100644 --- a/regress/mdoc/Lb/eos.out_ascii +++ b/regress/mdoc/Lb/eos.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE LLbb--eeooss - end of sentence handling after the library macro DDEESSCCRRIIPPTTIIOONN - Let's use the library ``mylib''. And some other libraries. + Let's use the library "mylib". And some other libraries. OpenBSD November 17, 2012 OpenBSD diff --git a/regress/mdoc/Op/broken.out_ascii b/regress/mdoc/Op/broken.out_ascii index f9641277..317a0489 100644 --- a/regress/mdoc/Op/broken.out_ascii +++ b/regress/mdoc/Op/broken.out_ascii @@ -4,8 +4,8 @@ NNAAMMEE OOpp--bbrrookkeenn - partial implicit block broken by partial explicit block DDEESSCCRRIIPPTTIIOONN - before both ``inside first [inside both'' inside second] after both + before both "inside first [inside both" inside second] after both - 0 ``1 [12 [123'' 23]] 0 + 0 "1 [12 [123" 23]] 0 OpenBSD July 2, 2014 OpenBSD diff --git a/regress/mdoc/St/badargs.out_ascii b/regress/mdoc/St/badargs.out_ascii index a32ff83b..70c7418e 100644 --- a/regress/mdoc/St/badargs.out_ascii +++ b/regress/mdoc/St/badargs.out_ascii @@ -4,13 +4,13 @@ NNAAMMEE SStt--iinnvvaalliidd - handling of invalid standard argument SSTTAANNDDAARRDDSS - valid argument: IEEE Std 1003.1-2004 (``POSIX.1'') + valid argument: IEEE Std 1003.1-2004 ("POSIX.1") invalid argument: no arguments: - two arguments: IEEE Std 1003.1-2004 (``POSIX.1'') murks + two arguments: IEEE Std 1003.1-2004 ("POSIX.1") murks end of file diff --git a/regress/mdoc/St/call.out_ascii b/regress/mdoc/St/call.out_ascii index 17f04404..dc9b55b6 100644 --- a/regress/mdoc/St/call.out_ascii +++ b/regress/mdoc/St/call.out_ascii @@ -6,7 +6,7 @@ NNAAMMEE SSTTAANNDDAARRDDSS calling another macro: --ccaalllleedd - valid argument: IEEE Std 1003.1-2004 (``POSIX.1'') + valid argument: IEEE Std 1003.1-2004 ("POSIX.1") end of file diff --git a/regress/roff/cond/before-Dd.out_ascii b/regress/roff/cond/before-Dd.out_ascii index f14a44fe..373e920f 100644 --- a/regress/roff/cond/before-Dd.out_ascii +++ b/regress/roff/cond/before-Dd.out_ascii @@ -10,7 +10,7 @@ DDEESSCCRRIIPPTTIIOONN with unknown macro errors. If the present document looks like a proper mdoc(7) document and the - following display reads ``mytext'', then the problem did not come back: + following display reads "mytext", then the problem did not come back: mytext diff --git a/regress/roff/de/escname.out_ascii b/regress/roff/de/escname.out_ascii index 9a2d825a..4f9a3a3d 100644 --- a/regress/roff/de/escname.out_ascii +++ b/regress/roff/de/escname.out_ascii @@ -16,7 +16,7 @@ DDEESSCCRRIIPPTTIIOONN Remove all but second: val2 - macro seperated from argument by an escape sequence: ``argument'' + macro seperated from argument by an escape sequence: "argument" final text diff --git a/regress/roff/esc/c.out_ascii b/regress/roff/esc/c.out_ascii index 5ddc8443..a0f6a996 100644 --- a/regress/roff/esc/c.out_ascii +++ b/regress/roff/esc/c.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE eesscc--cc - the roff escape c sequence: remove trailing space DDEESSCCRRIIPPTTIIOONN - No space between ``one'' and ``word'': oneword + No space between "one" and "word": oneword oneword -- cgit v1.2.3-56-ge451