
On Mon, Sep 08, 2014 at 11:25:44PM +0600, Ray Rashif wrote:
On 6 September 2014 17:58, Magnus Therning
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@therning.org jabber: magnus@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