Omikhleia / resilient.sile

Advanced book classes and packages for the SILE typesetting system
MIT License
21 stars 4 forks source link

Parskip in relative unit causes an error in lists #3

Closed Omikhleia closed 1 year ago

Omikhleia commented 1 year ago

This went in SILE 0.14.8: https://github.com/sile-typesetter/sile/commit/1ac793fba01c07e7a5225503f34307358015e7a8

Since the (SILE) lists packages was based on (omikhleia's enumitem >) resilient.lists, perhaps it applies here too.

Omikhleia commented 1 year ago

See also #27 for a generalization (here, the issue at stakes was on cancelling the last (lists.)parskip and replace it with a (document.)parskip).

Omikhleia commented 1 year ago

perhaps it applies here too.

Oh yes it does, a relative parskip (e.g. font-relative, "1ex") will cause an error due to the fact it's not "absolutized" to points before performing a computation...

But as noted too, we could avoid the computation, and avoid an "early" absolutization...