[arch-haskell] Pandoc fails creating document with citation styles

Magnus Therning magnus at therning.org
Wed Sep 10 07:13:35 UTC 2014


On Mon, Sep 08, 2014 at 11:25:44PM +0600, Ray Rashif wrote:
> On 6 September 2014 17:58, Magnus Therning <magnus at therning.org> wrote:
> > I ran into this a week or two ago but haven't had time to look into
> > it.  I used a manually modified citation style that I got from one of
> > those main citation style sites.  What I did notice is that using the
> > default style (i.e. not specifying any CSL at all) works.  I'm not
> > sure, but I suspect that piecemeal turning the default CSL into one
> > that is accepted might reveal what causes the issue.  Then it's easier
> > to assign blame, pandoc-citeproc, pandoc, XML parser lib, etc...
> 
> Yes, I mentioned that in my post to the pandoc group:
> 
> "f I don't supply a style, pandoc runs successfully and produces the
> document with the bibliography and the default style."
> 
> And guess what, it occurred to me to replace the default style with
> one of the other styles, and this just worked! I have no idea how as
> I needed to do actual work instead of troubleshoot and I badly
> needed APA even though I dislike it.

I can report that I've verified this rather strange behaviour (most
likely it's an example of a particularly bad error message).  I raised
a bug too: https://github.com/jgm/pandoc-citeproc/issues/81

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
     -- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20140910/9300332e/attachment.sig>


More information about the arch-haskell mailing list