source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Improve ASCII rendering of a few rare character escape sequences
@ 2017-08-23 13:02 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-08-23 13:02 UTC (permalink / raw)
  To: source

Log Message:
-----------
Improve ASCII rendering of a few rare character escape sequences
that can be changed unilaterally because groff fails to render them 
at all.

Modified Files:
--------------
    mandoc:
        chars.c
    mandoc/regress/char/unicode:
        namediff.out_ascii
    mandoc/regress/eqn/fromto:
        basic.out_ascii

Revision Data
-------------
Index: chars.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/chars.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -Lchars.c -Lchars.c -u -p -r1.72 -r1.73
--- chars.c
+++ chars.c
@@ -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	},
Index: namediff.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/char/unicode/namediff.out_ascii,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/char/unicode/namediff.out_ascii -Lregress/char/unicode/namediff.out_ascii -u -p -r1.3 -r1.4
--- regress/char/unicode/namediff.out_ascii
+++ regress/char/unicode/namediff.out_ascii
@@ -14,11 +14,11 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
        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
Index: basic.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/eqn/fromto/basic.out_ascii,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lregress/eqn/fromto/basic.out_ascii -Lregress/eqn/fromto/basic.out_ascii -u -p -r1.5 -r1.6
--- regress/eqn/fromto/basic.out_ascii
+++ regress/eqn/fromto/basic.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
      f\bfr\bro\bom\bmt\bto\bo-\b-b\bba\bas\bsi\bic\bc - vertical stacking
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-     initial text E_(_\bi = 1)^<infinity> 1/(_\bi^2) final text
+     initial text <sum>_(_\bi = 1)^<infinity> 1/(_\bi^2) final text
 
 OpenBSD                          July 4, 2017                          OpenBSD
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-23 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 13:02 mandoc: Improve ASCII rendering of a few rare character escape sequences schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).