Skip to content

Commit

Permalink
fix(packages): Make sure pullquotes start in block mode (#1774)
Browse files Browse the repository at this point in the history
This package is not intended for inline citations, this just enforces in
code what it's expectations are on the calling environment. A separate
package or package options could be coneived for a different mode, but
this at least avoids unsightly mixed-mode output.
  • Loading branch information
alerque committed Apr 11, 2023
1 parent 460677e commit 00151bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pullquote/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function package:registerCommands ()
end, "The font from which to pull the quotation marks.")

self:registerCommand("pullquote", function (options, content)
SILE.typesetter:leaveHmode()
local author = options.author or nil
local scale = options.scale or 3
local color = options.color or "#999999"
Expand Down

0 comments on commit 00151bc

Please sign in to comment.