Skip to content

Commit

Permalink
Merge 1ce80fe into 4990ecc
Browse files Browse the repository at this point in the history
  • Loading branch information
raphCode committed Dec 13, 2022
2 parents 4990ecc + 1ce80fe commit 39647f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bibtex/init.lua
Expand Up @@ -90,7 +90,7 @@ function package:registerCommands ()
end)

self:registerCommand("cite", function (options, content)
if not options.key then options.key = content[1] end
if not options.key then options.key = SU.contentToString(content) end
local style = SILE.settings:get("bibtex.style")
local bibstyle = require("packages.bibtex.styles." .. style)
local cite = Bibliography.produceCitation(options, SILE.scratch.bibtex.bib, bibstyle)
Expand Down

0 comments on commit 39647f8

Please sign in to comment.