Jeff Johnson
Jeff Johnson
I've been doing the latter myself for a while. Here are the relevant parts of my Plugins.hs: import qualified Network.Gitit.Plugins.Csv as Csv import qualified Network.Gitit.Plugins.CiteLinks as CiteLinks import qualified Network.Gitit.Plugins.CiteProc...
I just made [a plugin](https://github.com/jefdaj/gitit/blob/5978aabb01917677e0d72867ef2a9a05f329f833/Network/Gitit/Plugin/CiteProcBlock.hs) that implements it. It reads citations from `bib` blocks as [used by Caleb McDaniel](http://wcm1.web.rice.edu/plain-text-citations.html), or from a file specified in the metadata like above, or...
It's not quite ready for installation as a plugin because it required some (minor) changes to the rest of the gitit code to support new config file options. Those not-in-scope...
OK, made the hardcoded version. Does [this](https://gist.github.com/jefdaj/e32864c86156173e3a5c) work for you? Just replace `defaultBibliography` with a BibTex file and `defaultStyleFile` with a style file (APA is [here](http://zotero.org/styles/apa)).
Oh right, sorry about the module name! It should be `module CiteProc` (lowercase m), but you probably have that right already if it loaded. Not sure as far as the...
No problem, glad it (sort of) works! This stuff is all much more confusing than it should be. Not sure what that error means... an issue parsing the BibTex I...
I had a similar problem and ended up disabling plugin support and hardcoding them. It might not be the "right" way, but it's a fairly simple code change. Look for...
I know this is an old request, but for anyone who comes along with the same question: you should look into git-annex! It's wonderful. I've added a post-commit hook so...
Yeah this would be great. I'm using gitit for an electronic lab notebook and would like to combine it with git annex to version control a lot of large files...
I wrote a workaround that seems to work with git annex, but it's a little hacky and other setups haven't been tested: https://github.com/jefdaj/filestore/commit/a0be7d61b9b0116e691103281cc9a7ebb73575a6?diff=unified