aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit1dcbde3e1a6941a3253b1fbda8cbb0c765636066 (patch)
tree7a3c6f6fd5b3375f8696f76c67e85c875d78697a /chars.c
parentc29573b986ee252fd9bd92c397a44e7b3d3a5456 (diff)
downloadmandoc-1dcbde3e1a6941a3253b1fbda8cbb0c765636066.tar.gz
mandoc-1dcbde3e1a6941a3253b1fbda8cbb0c765636066.tar.zst
mandoc-1dcbde3e1a6941a3253b1fbda8cbb0c765636066.zip
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chars.c b/chars.c
index c2cfaf81..f1f5d5d7 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.68 2015/10/13 22:59:54 schwarze Exp $ */
+/* $Id: chars.c,v 1.69 2017/02/17 18:28:06 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 },