diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-04 12:19:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-04 12:19:49 +0000 |
commit | e416cc264f516dffda5d5702bbeecd388646bd27 (patch) | |
tree | b04e5b0f2fc3cb11f007f5b4dc32c6a0c6820f7b | |
parent | c6296bc7ed652f57acb7b7ab9f7ee04a79f56d84 (diff) | |
download | mandoc-e416cc264f516dffda5d5702bbeecd388646bd27.tar.gz |
in eqn, "prime" is equivalent to \(fm, and - is equivalent to \(mi;
patch from bentley@
-rw-r--r-- | eqn.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 *); |