diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 18:28:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 18:28:06 +0000 |
commit | 1dcbde3e1a6941a3253b1fbda8cbb0c765636066 (patch) | |
tree | 7a3c6f6fd5b3375f8696f76c67e85c875d78697a /chars.c | |
parent | c29573b986ee252fd9bd92c397a44e7b3d3a5456 (diff) | |
download | mandoc-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 }, |