Skip to content

Commit

Permalink
fix(packages): Absolutize parskip heights on use
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 26, 2023
1 parent 2f9e06d commit 1ac793f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lists/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function package.doNestedList (_, listType, options, content)
if not((SILE.settings:get("lists.current.itemize.depth")
+ SILE.settings:get("lists.current.enumerate.depth")) > 0)
then
local g = SILE.settings:get("document.parskip").height - SILE.settings:get("lists.parskip").height
local g = SILE.settings:get("document.parskip").height:absolute() - SILE.settings:get("lists.parskip").height:absolute()
SILE.typesetter:pushVglue(g)
end
end
Expand Down

0 comments on commit 1ac793f

Please sign in to comment.