Skip to content

Commit

Permalink
fix(packages): Correct package load path for colored dropcaps
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jun 18, 2022
1 parent b4fc0c9 commit 41a0c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dropcaps/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 29,7 @@ local function registerCommands (class)
local color = options.color
options.size = nil -- we need to measure the "would have been" size before using this

if color then class:loadPackage("packages.color") end
if color then class:loadPackage("color") end

-- We want the drop cap to span over N lines, that is N - 1 baselineskip the height of the first line.
-- Note this only works for the default linespace mechanism.
Expand Down

0 comments on commit 41a0c17

Please sign in to comment.