Am Mo., 16. Juni 2025 um 11:01 Uhr schrieb Valentin Petzel <valen...@petzel.at>:
>
> Hello Werner,
>
> > Should we change this to a public function?
> >
> >
> >     Werner
>
> I think this might prove very useful. Essentially if we define
>
> %%%
> #(define-markup-list-command (space-lines layout props mlist) (markup-list?)
>    #:properties ((baseline-skip 4.5))
>    (space-lines baseline-skip (interpret-markup-list layout props mlist)))
> %%%
>
> we can then also get the behaviour of `\wordwrap-lines` for `\wordwrap-string`
> as
>
> \markuplist \space-lines \wordwrap-string-internal ##f "Lorem ipsum [...]"
>
> which has the advantage that long texts can have page breaks, and we can 
> reflow
> this into say columns as in the attached mockup.

Very nice!

> It would be nice to do this breakable though. Maybe here it might make sense
> to generalize the pure-unpure concept, e.g. having a breakable stencil which
> returns a height estimate. Page breaking splits this into a set of blocks and
> calls a hook with the height of the blocks, which would flow the content into
> the blocks, or something.
>
> Cheers,
> Tina

Reply via email to