tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* some unicode for eqn(7)
@ 2015-03-03 19:49 Anthony J. Bentley
  2015-03-03 21:56 ` Ingo Schwarze
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony J. Bentley @ 2015-03-03 19:49 UTC (permalink / raw)
  To: tech

Hi,

In eqn, "prime" is equivalent to \(fm, and - is equivalent to \(mi.


Index: eqn.c
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/eqn.c,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 eqn.c
--- eqn.c	28 Jan 2015 21:10:28 -0000	1.20
+++ eqn.c	3 Mar 2015 19:42:20 -0000
@@ -192,6 +192,7 @@ enum	eqn_symt {
 	EQNSYM_equiv,
 	EQNSYM_lessequal,
 	EQNSYM_moreequal,
+	EQNSYM_minus,
 	EQNSYM__MAX
 };
 
@@ -247,7 +248,7 @@ static	const struct eqnsym eqnsyms[EQNSY
 	{ "cdot", "pc" }, /* EQNSYM_cdot */
 	{ "nothing", "&" }, /* EQNSYM_nothing */
 	{ "approx", "~~" }, /* EQNSYM_approx */
-	{ "prime", "aq" }, /* EQNSYM_prime */
+	{ "prime", "fm" }, /* EQNSYM_prime */
 	{ "half", "12" }, /* EQNSYM_half */
 	{ "partial", "pd" }, /* EQNSYM_partial */
 	{ "inf", "if" }, /* EQNSYM_inf */
@@ -260,6 +261,7 @@ static	const struct eqnsym eqnsyms[EQNSY
 	{ "==", "==" }, /* EQNSYM_equiv */
 	{ "<=", "<=" }, /* EQNSYM_lessequal */
 	{ ">=", ">=" }, /* EQNSYM_moreequal */
+	{ "-", "mi" }, /* EQNSYM_minus */
 };
 
 static	struct eqn_box	*eqn_box_alloc(struct eqn_node *, struct eqn_box *);
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-03 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 19:49 some unicode for eqn(7) Anthony J. Bentley
2015-03-03 21:56 ` Ingo 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).