1 (add-to-list 'load-path ".")
7 (defmacro assert (form)
8 (unless (byte-compiling-files-p)
10 (error "Assertion failed: %s" (pp-to-string ,form)))))
12 (defun chess-generate-texinfo-file ()
16 (insert-file-contents-literally "chess.texi")
18 (require 'chess-algebraic)
19 (require 'chess-display)
20 (require 'chess-engine)
26 (require 'chess-random)
29 (texinfo-insert-node-lines (point-min) (point-max) t)
30 (texinfo-every-node-update)
31 (texinfo-all-menus-update t)
32 (texinfo-every-node-update)
33 (texinfo-all-menus-update t)
35 (write-file "chess-final.texi")))