Closed iveney closed 1 week ago
Great, thanks!
I can take a look at this, but please add the nocite
tag source file and the tests to this PR.
As for the nocite
helper, we don't need to convert the entry at all, since we're not doing anything with it. It should be OK to just check bibliography.key?(key)
which tells us whether or not the entry exists; if it does exist, add it to cited_keys
and we're good. It's an interesting question what to do if a key is missing: since the tag isn't supposed to print anything we could either silently ignore it -- or, to alert users to the fact that they're citing a missing key print the missing reference string. What do you think?
Taking a stab at #322, which adds a
nocite
tag that do not output citation[1]
in place, but will silently track them and print out the mentioned citations via{% bibliography --cited %}
It works locally on my own blog, but I was not able to run cucumber correctly.