[cl-typesetting-devel] Generated text inside (compile-text () ... (paragraph ...))

Björn Lindberg d95-bli at nada.kth.se
Mon Oct 18 16:25:20 UTC 2004


I want to do something like the following, but it seems it doesn't
work because the FORMAT form is not evaluated.

  (pdf:with-document ()
    (pdf:with-page ()
      (let ((content (compile-text ()
		       (paragraph (:h-align :left :font "Helvetica"
					    :font-size 10)
			 (format nil "Some kind of text ~F" 0.75) :eol
			 "Testing again" :eol))))
	(draw-block content 100 741 395 641)))
    (pdf:write-document file))

Is it possible, or do I have to assign it to a variable outside of the
macros?


Björn




More information about the cl-typesetting-devel mailing list