
Hi Gwern, On Fri, Sep 19, 2008 at 09:01:46PM -0400, Gwern Branwen wrote:
Hi Andrea. So I was looking at the README. Does citeproc-hs only support adding refs from a .xml file when one's written in Pandoc markdown? That is, I don't see how I could take a .lhs file and a .bib file and produce one of the Pandoc-supported outputs. In particular, I'd really like to be able to go .lhs -> .wiki, with refs; this would let me convert The Monad Reader articles for haskell.org.
as far as I remember Pandoc can deal with literate Haskell. Check here: http://groups.google.com/group/pandoc-discuss/t/aaaf768ab730192 for bibtex databases, you can use Bibutils (check the citeproc-hs homepage for a link): bibutils is a set of utilities for converting from/to MODS to/from many different bibliographic databases. As you know, Pandoc has a mediawiki writer, so, you should be able to use extended markdown with referecnes to produce articles for the wiki. Keep in mind that pandoc latex reader doesn't use citeproc-hs (yet, I'd like to add). Andrea