forked from jaspervdj/hakyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support processing multiple bibliography files (jaspervdj#898)
* Support processing multiple bibliography files Pandoc Citeproc supports taking multiple bibliography files as input by passing a MetaList to the "bibliography" key instead of a single string. This keeps the original processPandocBiblio function taking a single bibliography, and adds a processPandocBiblios taking a list; the original function now just calls the new one. * Add tests for readPandocBiblios
- Loading branch information
1 parent
b8df202
commit f7f2cdd
Showing
6 changed files
with
120 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>This page cites a paper and a book.</title> | ||
</head> | ||
<body> | ||
<h1>This page cites a paper and a book.</h1> | ||
<p>I would like to cite one of my favourite papers <span class="citation" data-cites="meijer1991functional">(Meijer, Fokkinga, and Paterson 1991)</span> here.</p> | ||
<p>And also a book <span class="citation" data-cites="lipovaca2012">(Lipovača 2012)</span>.</p> | ||
<div id="refs" class="references csl-bib-body hanging-indent" role="doc-bibliography"> | ||
<div id="ref-lipovaca2012" class="csl-entry" role="doc-biblioentry"> | ||
Lipovača, Miran. 2012. <em>Learn You a Haskell for Great Good! A Beginner’s Guide</em>. San Francisco, CA: No Starch Press. | ||
</div> | ||
<div id="ref-meijer1991functional" class="csl-entry" role="doc-biblioentry"> | ||
Meijer, Erik, Maarten Fokkinga, and Ross Paterson. 1991. <span>“Functional Programming with Bananas, Lenses, Envelopes and Barbed Wire.”</span> In <em>Conference on Functional Programming Languages and Computer Architecture</em>, 124–44. Springer. | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: This page cites a paper and a book. | ||
--- | ||
|
||
I would like to cite one of my favourite papers [@meijer1991functional] here. | ||
|
||
And also a book [@lipovaca2012]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
references: | ||
- id: lipovaca2012 | ||
author: | ||
- family: Lipovača | ||
given: Miran | ||
call-number: QA76.73.H37 L69 2012 | ||
event-place: San Francisco, CA | ||
ISBN: 978-1-59327-283-8 | ||
issued: | ||
- year: 2012 | ||
number-of-pages: '375' | ||
publisher: No Starch Press | ||
publisher-place: San Francisco, CA | ||
source: Library of Congress ISBN | ||
title: Learn you a Haskell for great good! a beginner's guide | ||
type: book | ||
... |