diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-23 13:01:29 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-23 13:01:29 +0000 |
commit | ddfc9b897c5dc3180c2cb77bdedcb614ad1ffe89 (patch) | |
tree | 53c7eeedc71306e19b2a3b485db1647f6801cf75 | |
parent | ae306c4bcb5ff4e7aaf094095ac4edf87969c77c (diff) | |
download | mandoc-ddfc9b897c5dc3180c2cb77bdedcb614ad1ffe89.tar.gz |
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.c | 14 | ||||
-rw-r--r-- | regress/char/unicode/namediff.out_ascii | 10 | ||||
-rw-r--r-- | regress/eqn/fromto/basic.out_ascii | 2 |
3 files changed, 13 insertions, 13 deletions
@@ -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 |