aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-17 20:37:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-17 20:37:16 +0000
commit8b5090d24521aadd320f2b01f1ae487b519a2be0 (patch)
tree1e1610bd7a910b17460d8d49e536b1f0e381d74f /chars.in
parent790d9ca6372f759099b268a7c3256cba6f7db3a1 (diff)
downloadmandoc-8b5090d24521aadd320f2b01f1ae487b519a2be0.tar.gz
mandoc-8b5090d24521aadd320f2b01f1ae487b519a2be0.tar.zst
mandoc-8b5090d24521aadd320f2b01f1ae487b519a2be0.zip
Render \(lq and \(rq as '"' in -Tascii mode but leave the rendering
of .Do/.Dc, .Dq, .Lb, and .St untouched. Reduces groff-mandoc differences in OpenBSD base by about 7%. Reminded of the issue by naddy@.
Diffstat (limited to 'chars.in')
-rw-r--r--chars.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/chars.in b/chars.in
index 6b70f83f..ac72aba8 100644
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/* $Id: chars.in,v 1.51 2014/12/16 19:50:03 schwarze Exp $ */
+/* $Id: chars.in,v 1.52 2015/02/17 20:37:16 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -70,8 +70,10 @@ CHAR("ti", "~", 126)
/* Quotes. */
CHAR("Bq", ",,", 8222)
CHAR("bq", ",", 8218)
-CHAR("lq", "``", 8220)
-CHAR("rq", "\'\'", 8221)
+CHAR("lq", "\"", 8220)
+CHAR("rq", "\"", 8221)
+CHAR("Lq", "``", 8220)
+CHAR("Rq", "''", 8221)
CHAR("oq", "`", 8216)
CHAR("cq", "\'", 8217)
CHAR("aq", "\'", 39)