[cl-typesetting-devel] v-split failure and patch

Marc Battyani marc.battyani at fractalconcept.com
Mon Mar 22 09:13:56 UTC 2004


"Dmitri Ivanov" <divanov at aha.ru> writes:
> I have bumped into terrible looping bug. I am not sure that the
> user-drawn-box was actually the culprit but the error has been detected
> where user-drawn-box occurs. Please see the broken-user-box.lisp  attached
> and the following trace.
...
 > After patching the v-split method, it returns nil as the first value and
the
> outer draw-pages feeds a new page. The patched return-lines subfunction
> simply detects pathological case where the text-lines list is a
one-element
> list consisting of the spurious text-line. Its boxes slot only includes
> either text-style or h-spacing (including explicit or made by
> make-hfill-glue) instances.

OK thanks Dmitri. It's committed to the repository. (I just moved a badly
placed nreverse which was broking the single-page-example.)

This week I have to write some reports with cl-typesetting so I will have
the opportunity to test the new functionalities :)

Marc





More information about the cl-typesetting-devel mailing list