annotate lisp/mu/latex-math-symbol.el @ 102:a145efe76779 r20-1b3

Import from CVS: tag r20-1b3
author cvs
date Mon, 13 Aug 2007 09:15:49 +0200
parents 364816949b59
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 ;;; latex-math-symbol.el --- LaTeX math symbol decoder
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
3 ;; Copyright (C) 1996,1997 MORIOKA Tomohiko
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 ;; Created: 1996/7/1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 ;; Version:
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
8 ;; $Id: latex-math-symbol.el,v 1.3 1997/01/30 02:22:35 steve Exp $
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 ;; Keywords: LaTeX, math, mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 ;; This file is part of MU (Message Utilities).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 ;; This program is free software; you can redistribute it and/or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 ;; modify it under the terms of the GNU General Public License as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 ;; published by the Free Software Foundation; either version 2, or (at
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 ;; your option) any later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 ;; This program is distributed in the hope that it will be useful, but
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 ;; General Public License for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 ;; Boston, MA 02111-1307, USA.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 ;;; Commentary:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 ;; - How to install
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 ;; bytecompile this file and copy it to the apropriate directory.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 ;; - How to use
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 ;; If you use tm, please put following to your ~/.emacs:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34 ;; (autoload 'latex-math-decode-buffer "latex-math-symbol" nil t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 ;; (add-hook 'mime-viewer/plain-text-preview-hook
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 ;; 'latex-math-decode-buffer)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 ;; Of course, it may be available for other hooks to filter messages.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 ;;; Code:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 (defvar latex-math-symbol-table-alist
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
42 '(("\\alpha" . ",Fa(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
43 ("\\beta" . ",Fb(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
44 ("\\gamma" . ",Fc(B")("\\Gamma" . "$B&#(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
45 ("\\delta" . ",Fd(B")("\\Delta" . "$B&$(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
46 ("\\epsilon" . ",Fe(B")("\\varepsilon" . "$B&E(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
47 ("\\zeta" . ",Ff(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
48 ("\\eta" . ",Fg(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
49 ("\\theta" . ",Fh(B")("\\Theta" . "$B&((B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
50 ("\\iota" . ",Fi(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
51 ("\\kappa" . ",Fj(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
52 ("\\lambda" . ",Fk(B")("\\Lambda" . "$B&+(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
53 ("\\mu" . ",Fl(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
54 ("\\nu" . ",Fm(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
55 ("\\xi" . ",Fn(B")("\\Xi" . "$B&.(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
56 ("\\pi" . ",Fp(B")("\\Pi" . "$B&0(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
57 ("\\rho" . ",Fq(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
58 ("\\sigma" . ",Fs(B")("\\Sigma" . "$B&2(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
59 ("\\varsigma" . ",Fr(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
60 ("\\tau" . ",Ft(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
61 ("\\upsilon" . ",Fu(B")("\\Upsilon" . "$B&4(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
62 ("\\phi" . "$B&U(B")("\\Phi" . "$B&5(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
63 ("\\varphi" . ",Fv(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
64 ("\\chi" . ",Fw(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
65 ("\\psi" . ",Fx(B")("\\Psi" . "$B&7(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
66 ("\\omega" . ",Fy(B")("\\Omega" . "$B&8(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 ("\\{" . "$B!P(B")("\\}" . "$B!Q(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
69 ("\\langle\\!\\langle" . "$B!T(B")("\\rangle\\!\\rangle" . "$B!U(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
70 ("\\langle" . "$B!R(B")("\\rangle" . "$B!S(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
72 ("\\cdots" . "$B!D(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
73
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
74 ("\\ln" . "$(G"L(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
75 ("\\log" . "$(G"K(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
76
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
77 ("\\pm" . "$B!^(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 ("\\cdot" . "$B!&(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
79 ("\\times" . "$B!_(B")("\\ast" . "$B!v(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
80 ("\\star" . "$B!z(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
81 ("\\bullet" . "$B!&(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
82 ("\\div" . "$B!`(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 ("\\cap" . "$B"A(B")("\\cup" . "$B"@(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
84 ("\\lhd" . "$(C"7(B")("\\rhd" . "$(C"9(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
85 ("\\bigcirc" . "$B"~(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
86 ("\\vee" . "$B"K(B")("\\lor" . "$B"K(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
87 ("\\wedge" . "$B"J(B")("\\land" . "$B"J(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
88 ("\\oplus" . "$(G"S(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
89 ("\\odot" . "$(G"T(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
90 ("\\dagger" . "$B"w(B")("\\ddagger" . "$B"x(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 ("\\leq" . "$(C!B(B")("\\geq" . "$(C!C(B")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93 ("\\le" . "$(C!B(B")("\\ge" . "$(C!C(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
94 ("\\ll" . "$B"c(B")("\\gg" . "$B"d(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 ("\\subseteq" . "$B"<(B")("\\supseteq" . "$B"=(B")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96 ("\\subset" . "$B">(B")("\\supset" . "$B"?(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
97 ("\\in" . "$B":(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
98 ("\\ni" . "$B";(B")("\\owns" . "$B";(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
99 ("\\frown" . "$B"^(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
100 ("\\mid" . "$B!C(B")("\\parallel" . "$B!B(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
101 ("\\sim" . "$B!A(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
102 ("\\equiv" . "$B"a(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
103 ("\\approx" . "$A!V(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
104 ("\\not=" . "$B!b(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 ("\\neq" . "$B!b(B")("\\ne" . "$B!b(B")
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
106 ("\\perp" . "$B"](B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
108 ("\\triangleup" . "$B"$(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 ("\\forall" . "$B"O(B")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
111 ("\\hbar" . ",C1(B")("\\imath" . ",C9(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
112 ("\\ell" . "$(C'$(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
113 ("\\partial" . "$B"_(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
114 ("\\infty" . "$B!g(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
115 ("\\smallint" . "$B"i(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
116 ("\\P" . "$B"y(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
117 ("\\prime" . "$B!l(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
118 ("\\nabla" . "$B"`(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
119 ("\\top" . "$(D0#(B")("\\bot" . "$(D0"(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
120 ("\\vert" . "$B!C(B")("\\Vert" . "$B!B(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
121 ("\\angle" . "$B"\(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
122 ("\\triangle" . "$B"$(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
123 ("\\backslash" . "$B!@(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
124 ("\\S" . "$B!x(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
125 ("\\forall" . "$B"O(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
126 ("\\exists" . "$B"P(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
127 ("\\neg" . "$B"L(B")("\\lnot" . "$B"L(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
128 ("\\flat" . "$B"u(B")("\\sharp" . "$B"t(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
129 ("\\clubsuit" . "$(C"@(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
130 ("\\diamondsuit" . "$B!~(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
131 ("\\heartsuit" . "$(C"=(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
132 ("\\spadesuit" . "$(C"<(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
133
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 ("\\leftarrow" . "$B"+(B")("\\rightarrow" . "$B"*(B")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 ("\\gets" . "$B"+(B")("\\to" . "$B"*(B")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
137 ("^1" . ",A9(B")("^{1}" . ",A9(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
138 ("^2" . ",A2(B")("^{2}" . ",A2(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
139 ("^3" . ",A3(B")("^{3}" . ",A3(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
140 ("^4" . "$(C)y(B")("^{4}" . "$(C)y(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
141 ("^n" . "$(C)z(B")("^{n}" . "$(C)z(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
142 ("_1" . "$(C){(B")("_{1}" . "$(C){(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
143 ("_2" . "$(C)|(B")("_{2}" . "$(C)|(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
144 ("_3" . "$(C)}(B")("_{3}" . "$(C)}(B")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
145 ("_4" . "$(C)~(B")("_{4}" . "$(C)~(B")
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 (defun latex-math-decode-region (beg end)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 (interactive "r")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 (save-restriction
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 (narrow-to-region beg end)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 (let ((rest latex-math-symbol-table-alist)
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
153 (case-fold-search nil)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 cell)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 (while rest
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 (setq cell (car rest))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157 (goto-char beg)
86
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
158 (while (re-search-forward
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
159 (concat "\\("
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
160 (regexp-quote (car cell))
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
161 "\\)\\([^a-zA-Z]\\|$\\)")
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
162 nil t)
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
163 (delete-region (match-beginning 1)(match-end 1))
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
164 (goto-char (match-beginning 0))
364816949b59 Import from CVS: tag r20-0b93
cvs
parents: 76
diff changeset
165 (insert (cdr cell))
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167 (setq rest (cdr rest))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 ))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 (defun latex-math-decode-buffer ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 (interactive)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 (latex-math-decode-region (point-min)(point-max))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 ;;; @ end
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 ;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 (provide 'latex-math-symbol)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 ;;; latex-math-symbol.el ends here