Omikhleia / silex.sile

Extension layer for SILE and resilient
MIT License
6 stars 1 forks source link

Multi-line effects #10

Closed Omikhleia closed 6 months ago

Omikhleia commented 6 months ago

A new approach derived from https://github.com/sile-typesetter/sile/pull/1334

Caveat: It does further break the broken "pushback" logic (due to additional reboxing)

image

Omikhleia commented 6 months ago

As mentioned, links too can now span multiple line:

image

Omikhleia commented 6 months ago

Parboxing test (we rely on computed line ratios for the minimized case, so it's a good extra case)

image

Omikhleia commented 6 months ago

Also enjoying line-spanning underlines in a boustrophedon ('cause why not).

image

Omikhleia commented 6 months ago

Checking we didn't butcher the margins (lskip/rskip) in parbox and regular paragraph after more refactoring (https://github.com/sile-typesetter/sile/pull/1980)

image

EDIT: I really mean the (document) lskip and rskip "margins" here. Don't bother the unrelated "margins" frame in the screenshot (from resilient's layout)

Omikhleia commented 6 months ago

Extra tests with some of my stuff: