Skip to content

Commit

Permalink
chore(packages): Update number formatter using new SILE v0.15.x inter…
Browse files Browse the repository at this point in the history
…face
  • Loading branch information
alerque committed Mar 14, 2024
1 parent b6d6654 commit cd3e3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cabook-commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function package:registerCommands ()
SILE.call(options.prenumber)
end
if options.msg then
local number = SU.formatNumber(counters.value[level], options.display)
local number = SU.formatNumber(counters.value[level], { style = options.display })
SILE.call("fluent", { number = number }, { options.msg })
else
SILE.call("show-multilevel-counter", {
Expand Down

0 comments on commit cd3e3d0

Please sign in to comment.