aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Shoulson <mark@kli.org>2009-05-21 19:34:00 -0400
committerMark Shoulson <mark@kli.org>2009-05-21 19:34:00 -0400
commitf81c068f810285f3e7ac5bcc48642a3c584b5844 (patch)
tree941ab6395bb6c9266f56f3665d4b897e53da59e0
parentAnother rewrite of scan4dups to fix things still being missed. Added NABLA a... (diff)
downloaddotXCompose-f81c068f810285f3e7ac5bcc48642a3c584b5844.tar.gz
dotXCompose-f81c068f810285f3e7ac5bcc48642a3c584b5844.tar.bz2
dotXCompose-f81c068f810285f3e7ac5bcc48642a3c584b5844.zip
Add some math symbols that should have been there already.
-rw-r--r--dotXCompose4
-rw-r--r--scan4dups.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/dotXCompose b/dotXCompose
index 73f0df2..7dfe31b 100644
--- a/dotXCompose
+++ b/dotXCompose
@@ -155,8 +155,12 @@ include "%L"
<Multi_key> <quotedbl> <period> : "∵" U2235 # BECAUSE
<Multi_key> <percent> <percent> : "‱" U2031 # PER TEN THOUSAND (basis points)
# OK, absolutely cannot believe we made it this long without NABLA or INTEGRAL
+# or PARTIAL DIFFERENTIAL
<Multi_key> <ampersand> <d> <e> <l> : "∇" U2207 # NABLA
<Multi_key> <ampersand> <i> <n> <t> : "∫" U222B # INTEGRAL
+<Multi_key> <ampersand> <p> <a> <r> <t> : "∂" U2202 # PARTIAL DIFFERENTIAL
+<Multi_key> <asterisk> <period> <period> <d> : "∂" U2202 # PARTIAL DIFFERENTIAL
+# Would we prefer 20D1 COMBINING RIGHT HARPOON ABOVE?
<Multi_key> <asciicircum> <greater> : "⃗" U20D7 # COMBINING RIGHT ARROW ABOVE (vector)
# There's a whole passel of these guys starting at U+1D538 but I have no fonts for those.
<Multi_key> <bar> <C> : "ℂ" U2102 # DOUBLE-STRUCK CAPITAL C (set of complex numbers)
diff --git a/scan4dups.py b/scan4dups.py
index 00aef78..e4ba418 100644
--- a/scan4dups.py
+++ b/scan4dups.py
@@ -1,4 +1,4 @@
-#!/bin/py
+#!/usr/bin/env python
import sys
import re