[cl-typesetting-devel] cl-pdf vs the fasl cache
Faré
fahree at gmail.com
Fri Aug 26 05:12:21 UTC 2005
The dreaded day when scribe ceased to work in debian has arrived at
last, and I've decided that my upgrade path would be cl-typesetting,
not skribe.
Trying to compile the latest cl-typesetting, I find this error when compiling
cl-pdf/chart.lisp: helvetica font not found. That's because I'm using
a common-lisp-controller kind of trick (actually, cl-launch) whereby
fasl's are stored in a different directory from the source code, and
so *load-pathname* is not the right place where to look for the afm
directory.
The trick I use is to capture the compile-time value of
*load-pathname* with #. (I previously tried with eval-when, but
couldn't get it right). Thus, in cl-pdf/config.lisp:
(defparameter *afm-files-directories*
(when #.*load-pathname*
(list (merge-pathnames #P"afm/*.afm" #.*load-pathname*)))
"The directory containing the Adobe Font Metrics files for the 14
predefined fonts")
PS: does anyone generate HTML and PDF from Lisp using cl-typesetting
and some other backend? What do you use to generate both HTML and PDF
from the same source?
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
So you think you know how to translate French into English? Now what if the
French meant something completely different than what the English understood,
only neither the French, nor the English, could figure out the difference?
More information about the cl-typesetting-devel
mailing list