summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Pandoc/Biblio.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-08-20Fix compilation errors with pandoc-citeproc 0.4Rickard Nilsson1-1/+1
2013-09-18updated to work with pandoc 1.12Jorge Israel Peña1-9/+6
Pandoc 1.12 decouples citeproc-hs from itself, so there is no longer a Text.Pandoc.Biblio module in Pandoc. Further, citeproc-hs depends on pandoc-types 1.10 but Pandoc 1.12 depends on pandoc-types 1.12. To alleviate these issues, pandoc-citeproc was created which includes a copy of the citeproc-hs source made to be compatible, since the developer of citeproc-hs is apparently MIA. pandoc-citeproc is a separate module that handles the mixture of citeproc-hs and Pandoc. It includes `processCites` in Text.CSL.Pandoc, which is the new name of what used to be `processBiblio` from Text.Pandoc.Biblio Most of these changes are seamless, consisting of simple name changes in both functions and modules. However, a more direct change in the Hakyll API itself is that `readPandocBiblio`'s second parameter, the CSL, is now mandatory, i.e. not of type Maybe. This is to reflect the same change in the underlying processing function from Text.CSL.Pandoc, `processCites`, where the Style argument is now mandatory, and the style is derived from the CSL. See the old function: processBiblio :: Maybe Style -> [Reference] -> Pandoc -> Pandoc Compared to the new one: processCites :: Style -> [Reference] -> Pandoc -> Pandoc Sources: * http://hackage.haskell.org/packages/archive/pandoc/1.11.1/doc/html/Text-Pandoc-Biblio.html * http://hackage.haskell.org/packages/archive/pandoc-citeproc/0.1/doc/html/Text-CSL-Pandoc.html Similarly, there is no longer a `readerReferences` field in the reader options structure.
2013-01-20Update to use pandoc 1.9Jasper Van der Jeugt1-11/+15
2012-11-18Add Item abstractionJasper Van der Jeugt1-20/+37
2012-11-13WIPJasper Van der Jeugt1-30/+29
2012-11-10Deprecate things, basics now workJasper Van der Jeugt1-6/+20
2012-11-09Remove Resource typeJasper Van der Jeugt1-7/+6
2012-02-06Bump pandoc dependency to 1.9Jasper Van der Jeugt1-2/+2
2011-11-22Fix bibliography handlingJasper Van der Jeugt1-20/+36
2011-11-21Add a Pandoc.Biblio moduleJasper Van der Jeugt1-0/+57