aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-08-23 13:01:29 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-08-23 13:01:29 +0000
commitdf50213ad85d4924615a0bc692c6dfc5822917f1 (patch)
tree2a79694255f4b677e1e64108477cb281ede002bc
parentdd7089e214cdc7aad04e017e6b6f7b08e49f0920 (diff)
downloadmandoc-df50213ad85d4924615a0bc692c6dfc5822917f1.tar.gz
mandoc-df50213ad85d4924615a0bc692c6dfc5822917f1.tar.zst
mandoc-df50213ad85d4924615a0bc692c6dfc5822917f1.zip
Improve ASCII rendering of a few rare character escape sequences
that can be changed unilaterally because groff fails to render them at all.
-rw-r--r--chars.c16
-rw-r--r--regress/char/unicode/namediff.out_ascii10
-rw-r--r--regress/eqn/fromto/basic.out_ascii2
3 files changed, 14 insertions, 14 deletions
diff --git a/chars.c b/chars.c
index 852a9673..fb9ded8b 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.72 2017/08/23 10:50:15 schwarze Exp $ */
+/* $Id: chars.c,v 1.73 2017/08/23 13:01:29 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -215,9 +215,9 @@ static struct ln lines[] = {
{ "mo", "<element\037of>", 0x2208 },
{ "nm", "<not\037element\037of>", 0x2209 },
{ "sb", "<proper\037subset>", 0x2282 },
- { "nb", "(!=", 0x2284 },
+ { "nb", "<not\037subset>", 0x2284 },
{ "sp", "<proper\037superset>", 0x2283 },
- { "nc", "!=)", 0x2285 },
+ { "nc", "<not\037superset>", 0x2285 },
{ "ib", "<subset\037or\037equal>", 0x2286 },
{ "ip", "<superset\037or\037equal>", 0x2287 },
{ "ca", "<intersection>", 0x2229 },
@@ -225,13 +225,13 @@ static struct ln lines[] = {
{ "/_", "<angle>", 0x2220 },
{ "pp", "<perpendicular>", 0x22a5 },
{ "is", "<integral>", 0x222b },
- { "integral", "'\b,\bI", 0x222b },
- { "sum", "E", 0x2211 },
- { "product", "TT", 0x220f },
- { "coproduct", "U", 0x2210 },
+ { "integral", "<integral>", 0x222b },
+ { "sum", "<sum>", 0x2211 },
+ { "product", "<product>", 0x220f },
+ { "coproduct", "<coproduct>", 0x2210 },
{ "gr", "<nabla>", 0x2207 },
{ "sr", "<sqrt>", 0x221a },
- { "sqrt", "\\/", 0x221a },
+ { "sqrt", "<sqrt>", 0x221a },
{ "lc", "|~", 0x2308 },
{ "rc", "~|", 0x2309 },
{ "lf", "|_", 0x230a },
diff --git a/regress/char/unicode/namediff.out_ascii b/regress/char/unicode/namediff.out_ascii
index 8e309636..456f9ad6 100644
--- a/regress/char/unicode/namediff.out_ascii
+++ b/regress/char/unicode/namediff.out_ascii
@@ -14,11 +14,11 @@ DDEESSCCRRIIPPTTIIOONN
PP SCRIPT CAPITAL P
^v^v UP DOWN ARROW
^=v^=v UP DOWN DOUBLE ARROW
- TTTT N-ARY PRODUCT
- UU N-ARY COPRODUCT
- EE N-ARY SUMMATION
- (!=(!= NOT A SUBSET OF
- !=)!=) NOT A SUPERSET OF
+ <product><product> N-ARY PRODUCT
+ <coproduct><coproduct> N-ARY COPRODUCT
+ <sum><sum> N-ARY SUMMATION
+ <not subset><not subset> NOT A SUBSET OF
+ <not superset><not superset> NOT A SUPERSET OF
// LEFT PARENTHESIS UPPER HOOK
|| LEFT PARENTHESIS EXTENSION
\\ LEFT PARENTHESIS LOWER HOOK
diff --git a/regress/eqn/fromto/basic.out_ascii b/regress/eqn/fromto/basic.out_ascii
index 86697c94..68ae5699 100644
--- a/regress/eqn/fromto/basic.out_ascii
+++ b/regress/eqn/fromto/basic.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
ffrroommttoo--bbaassiicc - vertical stacking
DDEESSCCRRIIPPTTIIOONN
- initial text E_(_i = 1)^<infinity> 1/(_i^2) final text
+ initial text <sum>_(_i = 1)^<infinity> 1/(_i^2) final text
OpenBSD July 4, 2017 OpenBSD