[cl-pdf-devel] Writing to pages from different functions
Marc Battyani
marc.battyani at fractalconcept.com
Tue Jan 17 22:10:06 UTC 2006
"Jonathon McKitrick" <jcm at FreeBSD-uk.eu.org> wrote:
> Suppose I want to build a document in a modular way, with several different
> function calls. Once I call (with-document) will each (with-page) simply
> append to the existing document, so that when I write the document at the end
> it will contain all the pages added?
You don't call with-document and with-page, they are macros not functions so they are
expanded not called.
Look at: http://www.lisp.org/HyperSpec/Body/sec_3-1-2-1-2-2.html for precisions.
There is probably a chapter on macros in PCL: http://www.cl-user.net/asp/web-sites/pcl
Marc
More information about the cl-pdf-devel
mailing list