Commit ee1f6a1d authored by Artem Shinkarov's avatar Artem Shinkarov

Fixing broken '(missing reference)'

parent 10701e28
......@@ -114,12 +114,11 @@ module Jekyll
end
def cite(key)
entry = bibliography[key].convert(:latex)
context['cited'] ||= []
context['cited'] << key
if bibliography.key?(key)
entry = bibliography[key].convert(:latex)
citation = CiteProc.process entry.to_citeproc, :style => config['style'],
:locale => config['locale'], :format => 'html', :mode => :citation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment