braver@magnolia.Berkeley.EDU (Michael Braverman) (10/17/90)
Are there any programs or style files for including Common-Lisp code in Latex documents? I'm interested in functionality such as the highlighting of keywords, italicization of comments, adjustment of indentation, and things like that. Thanks, Michael Braverman braver@teak.berkeley.edu
bigelow@hpfcso.HP.COM (Jim Bigelow) (10/23/90)
Try tgrind with the floowing addition to /usr/local/lib/vgrindefs:
clisp|cl: \
:pb=^\((defun|defmacro)\d\a\d:bb=\(:be=\):\
:cb=\;:ce=$:sb=":se=\e":\
:kw=lamda defun funcall setq apply mapcar mapconcat function\
car cdr t nil eq equal cons eval mapatoms documentation \
caar caaar cadr cddr fset defmacro null list listp reverse atom\
macroexpand progn prog1 prog2 if cond not and or while catch throw\
condition-case unwind-protect ding beep visible-bell\
defvar let let* or quote -restriction\
remove-if member sort assoc pairlis get setf list-length < + print\
princ terpri append \
setq-default set:
The only problem I've had it that tgrind will not recognize function names
with a "-" in then as such.
Jim Bigelow
S300 Pascal
Colordo Language Lab
HP, Ft Collins, CO