On think.com, there are latex style files used to format Steele's
book, ClTl2. The lisp environment defined for latex is similar to the
verbatim environment. However, the character '#' causes an error. E.g.:
\documentstyle[12pt]{article}
\begin{document}
\input defun.tex
\input marginal.tex
\begin{lisp}
(apply #'(lambda (x) x) '(1 2 3))
\end{lisp}
\end{document}
produces an error:
! You can't use `macro parameter character #' in restricted horizontal mode.
l.7 (apply #
'(lambda (x) x) '(1 2 3))
THere must be something wrong that I'm doing here. Probably the
lisp environment isn't the corrent thing to do to format this type of code.
Anybody care to comment?
--
----------Nicolas ···························@aig.jpl.nasa.gov
Artificial Intelligence Group
Jet Propulsion Laboratory