[cl-typesetting-devel] Practical Common Lisp Colophon

Marc Battyani marc.battyani at fractalconcept.com
Sat Oct 8 22:59:29 UTC 2005


"Dmitriy Ivanov" <divanov at aha.ru> wrote:

> Hello Marc,

Hi Dmitri,

> MB> IIRC, I don't think it has ever been exported.
> MB> In fact very few symbols are exported as I don't know if I should
> MB> export almost all or only the highest level functions.
> 
> In my experience, the following bunch of symbols is worth exporting (an
> excerp from my contrib/di-typeset.lisp).
> 
> (in-package typeset)
> 
> (eval-when (:compile-toplevel :load-toplevel :execute)
>   (import
>   '(pdf:*document* pdf::*embed-fonts* pdf:*page*))
> 
>   (export (mapcar (lambda (name) (intern (string name)))
>   '(;#:*dont-hyphenate*
>     #:*default-font*
>     #:*default-font-size*
>     #:*document*
>     #:*embed-fonts*
>     #:*leading* #:*leading-ratio*
>     #:*page*
>     #:*table* #:*table-row*
> 
>     #:add-box
>     #:add-table-cell #:add-table-row
>     #:cannot-fit-on-page
>     #:compute-page-bounds
>     #:continue-with-next-page
>     #:draw-block
>     #:end-of-page
>     #:output
>     #:p  ; synonym of paragraph
>     #:pages
>     #:use-style
>     #:with-quad
>    )))

OK Looks like you have a mix of high and low level functions here...
But anyway, I should export more functions. 

Marc




More information about the cl-typesetting-devel mailing list