i just checked out the library to inspect the results. building seems to fail wit the following message:
! LaTeX Error: File `slides-output.tex' not found.
sorry, i should've checked the complete error log as well. the issue seems to be that ~/.emacs.d/ibcl isn't included, whatever may be in there :-)
it will likely build once i have that.
Sorry about that, my mistake. ibcl is like sbcl but adapted to be able to retain the source code of functions that are loaded.
As I don't make use of it, please update to the latest head where I fixed the bug or replace ~/.emacs.d/ibcl by your lisp (e.g., sbcl).
I'm reusing this same issue for further debugging. this comes from the latest head.
what do you have in your .sbclrc, i assume you load some code which i don't. the trace is the following
This is SBCL 1.0.51, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (load "dslides.lisp")
* (load "clos.lisp")
style-warning: redefining common-lisp-user::mult2 in DEFUN
; in: get-source 'mult2
; (GET-SOURCE 'MULT2)
; caught style-warning:
; undefined function: get-source
; compilation unit finished
; Undefined function:
; caught 1 STYLE-WARNING condition
debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD
"initial thread" RUNNING
The function COMMON-LISP-USER::GET-SOURCE is undefined.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
("bogus stack frame")
Sorry, my fault again. I fixed the depency to ibcl but this introduces some more problems on the layout. It should work now, but you will expect some broken slides.
works like a charm!
Sorry it took me so many iterations. There is a lot of things to do to improve the DSL, feel free to propose patches.
no problem whatsoever. your fast response has been more valuable to me than fewer iterations.
the slides look remarkably good for the amount of code required to generate them. i'll likely look into the library further in the near future.