What's with texput(...)? Documentation encourages to declare operator first
and then call texput(...), but
(%i1) nary ("foo")$
(%i2) texput ("foo", " \\sim ", nary);
Maxima encountered a Lisp error:
SYSTEM::%PUT: "foo" is not a symbol
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i3) texput ("bar", " \\sim ", nary);
Maxima encountered a Lisp error:
SYSTEM::%PUT: "bar" is not a symbol
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i4) texput (bar, " \\sim ", nary);
(%o4) \sim
(%i5) nary ("bar")$
(%i6) tex(a bar b bar c);
$$a \sim b \sim c$$
(%o6) false
(%i7) tex(a foo b foo c);
$${\it foo}\left(a , b , c\right)$$
(%o7) false
(%i8) texput ("+", " \\sim ", nary);
Maxima encountered a Lisp error:
SYSTEM::%PUT: "+" is not a symbol
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
[...]
Maxima version: 5.14.0
Maxima build date: 22:7 3/19/2008
host type: i686-pc-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.41 (2006-10-13) (built 3369729491) (memory
3414942489)
--
Alexey Beshenov <al at beshenov.ru>
http://beshenov.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20080406/4229ba7f/attachment.pgp