I try to upgrade a program converting blog entries using pandoc from using pandoc-citeproc to the new citeproc. I have not found a simple example for usage of citeproc and have difficulties to use it.
Specifically, I do not see how to construct the list of references and list of citations.
For the list of references, I assume I should process the bib file as it was done with, e.g.
parseBibTex :: String -> IO [Entry.T]
what is the corresponding function?
I cannot see how to extract the list of citations and how to produce the formatted file.
Perhaps I misunderstood that citeproc was a replacement for pandoc-citeproc. I think it would be extremely useful to see a simple complete example how a text converted to pandoc format and a reference bib file would be processed to obtain a formated text file. I think I could work from such an example...
Thank you!