summaryrefslogtreecommitdiffstats
path: root/chars.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-17 18:28:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-17 18:28:06 +0000
commit6314f1e80963a3b0062af9c80947fb76e5452a4b (patch)
tree96d797b55474f4052cb41078a93ad7d7634f451a /chars.c
parent5c5fdc42dc7ed248744aa0a3575af541ab29269f (diff)
downloadmandoc-6314f1e80963a3b0062af9c80947fb76e5452a4b.tar.gz
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.
Diffstat (limited to 'chars.c')
-rw-r--r--chars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chars.c b/chars.c
index c4d237c9..c4dfa5b2 100644
--- a/chars.c
+++ b/chars.c
@@ -101,8 +101,8 @@ static struct ln lines[] = {
{ "bq", ",", 0x201a },
{ "lq", "\"", 0x201c },
{ "rq", "\"", 0x201d },
- { "Lq", "``", 0x201c },
- { "Rq", "''", 0x201d },
+ { "Lq", "\"", 0x201c },
+ { "Rq", "\"", 0x201d },
{ "oq", "`", 0x2018 },
{ "cq", "\'", 0x2019 },
{ "aq", "\'", 0x0027 },