source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Improve ASCII rendering of a few rare character escape sequences
Date: Wed, 23 Aug 2017 08:02:01 -0500 (EST)	[thread overview]
Message-ID: <16013423291120159713.enqueue@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2017-08-23 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16013423291120159713.enqueue@fantadrom.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).