summaryrefslogtreecommitdiffstats
path: root/eqn.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-04 12:19:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-04 12:19:49 +0000
commite416cc264f516dffda5d5702bbeecd388646bd27 (patch)
treeb04e5b0f2fc3cb11f007f5b4dc32c6a0c6820f7b /eqn.c
parentc6296bc7ed652f57acb7b7ab9f7ee04a79f56d84 (diff)
downloadmandoc-e416cc264f516dffda5d5702bbeecd388646bd27.tar.gz
in eqn, "prime" is equivalent to \(fm, and - is equivalent to \(mi;
patch from bentley@
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index 36662c9b..72ed298a 100644
--- a/eqn.c
+++ b/eqn.c
@@ -194,6 +194,7 @@ enum eqn_symt {
EQNSYM_equiv,
EQNSYM_lessequal,
EQNSYM_moreequal,
+ EQNSYM_minus,
EQNSYM__MAX
};
@@ -249,7 +250,7 @@ static const struct eqnsym eqnsyms[EQNSYM__MAX] = {
{ "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 */
@@ -262,6 +263,7 @@ static const struct eqnsym eqnsyms[EQNSYM__MAX] = {
{ "==", "==" }, /* EQNSYM_equiv */
{ "<=", "<=" }, /* EQNSYM_lessequal */
{ ">=", ">=" }, /* EQNSYM_moreequal */
+ { "-", "mi" }, /* EQNSYM_minus */
};
static struct eqn_box *eqn_box_alloc(struct eqn_node *, struct eqn_box *);