Function: math-parse-tex-sum
math-parse-tex-sum is a byte-compiled function defined in
calc-lang.el.gz.
Signature
(math-parse-tex-sum F VAL)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-lang.el.gz
(defun math-parse-tex-sum (f _val)
(let (low high save)
(or (equal math-expr-data "_") (throw 'syntax "Expected `_'"))
(math-read-token)
(setq save math-exp-old-pos)
(setq low (math-read-factor))
(or (eq (car-safe low) 'calcFunc-eq)
(progn
(setq math-exp-old-pos (1+ save))
(throw 'syntax "Expected equation")))
(or (equal math-expr-data "^") (throw 'syntax "Expected `^'"))
(math-read-token)
(setq high (math-read-factor))
(list (nth 2 f) (math-read-factor) (nth 1 low) (nth 2 low) high)))