Commit 5b2fbf05 authored by Mark Moll's avatar Mark Moll

add bibtex files to dependency tree

parent 0e4bdb4d
...@@ -15,6 +15,16 @@ module Jekyll ...@@ -15,6 +15,16 @@ module Jekyll
def render(context) def render(context)
set_context_to context set_context_to context
# Add bibtex files to dependency tree
if context.registers[:page] and context.registers[:page].has_key? "path"
bibtex_paths.each do |bibtex_path|
site.regenerator.add_dependency(
site.in_source_dir(context.registers[:page]["path"]),
bibtex_path
)
end
end
items = entries items = entries
if cited_only? if cited_only?
......
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