a***@gmail.com
2017-02-17 03:53:08 UTC
Hi all,
I'm trying to use Hakyll to track research notebooks; basically, I have a
.bib file with a big dump of relevant papers, and keep org files with
references and comments on selected papers.
Previously I used a single bib file to track everything I commented on,
using
match "notebooks/*.org" $ do
route $ setExtension "html"
compile $ pandocBiblioCompiler "csl/apa-cv-inline.csl"
"bib/notebooks.bib"
metadata, instead of hard-coding a single one. I've previously loaded
metadata into a context so it can be used in a template, but I don't see
how to load it to use as an argument to pandocBiblioCompiler. Is there a
direct way to do this?
Thanks.
I'm trying to use Hakyll to track research notebooks; basically, I have a
.bib file with a big dump of relevant papers, and keep org files with
references and comments on selected papers.
Previously I used a single bib file to track everything I commented on,
using
match "notebooks/*.org" $ do
route $ setExtension "html"
compile $ pandocBiblioCompiler "csl/apa-cv-inline.csl"
"bib/notebooks.bib"
= loadAndApplyTemplate "templates/notebook.html" postCtx
= loadAndApplyTemplate "templates/default.html"
(topCtx `mappend` defaultContext)= loadAndApplyTemplate "templates/default.html"
= relativizeUrls
But I'd like to be able to specify a bibliography in the org file's YAMLmetadata, instead of hard-coding a single one. I've previously loaded
metadata into a context so it can be used in a template, but I don't see
how to load it to use as an argument to pandocBiblioCompiler. Is there a
direct way to do this?
Thanks.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.