-
-
Notifications
You must be signed in to change notification settings - Fork 61
performance of citation processing #190
Comments
Well, this is what it looks like on my Mid-2011 MacBook Air, with a 1683-item biblatex file:
So this doesn’t look quite as bad as your report suggests. Can you process your bib(la)tex files with latex/pdflatex/xelatex/… and bibtex/biber? Any error messages with Any error messages with |
This sounds interesting indeed.
Yes, in LaTeX everything compiles nicely and I get a bibliography as well. Are there any known issues where I'll check the suggested tools tonight. |
Fixed indeed an error with an invalid key. As for
It does not allow for the RTS-commands, thus I tried the latest and greatest |
+++ Alexander Wagner [Nov 09 15 10:25 ]:
Can you upload your bibtex file somewhere so we can test? |
Sure. Feel free to fetch it from http://www.desy.de/~arwagner/pandoc-citeproc.bib |
Delete
… and try again. Quite cleary something you should not have in your data. Not sure whether it’s possible (or worth trying) for pandoc-citeproc to catch this. |
Ah! A loop, indeed. And of course you're right. How did you find it? I've some dealings with other peoples bibliographies and knowledge about "how to detect errors" come in handy. |
@nickbart1980 you made my day. :) 300 pages later I can report a working conversion including all bibliographic references. And indeed there is no performance issue, it was indeed just the looping Maybe you can comment here on how to find such errors or how you did it. |
No special tools, I’m afraid, just vgrep :-) |
We should probably fix pandoc-citeproc so it doesn't go into an infinite loop even with a loopy bibtex file. So I'll reopen this as a reminder to do that. |
I tried recently to convert a book typeset in LaTeX to docx using pandoc. Everything worked out nicely except the references from BibTeX. I was able to strip the original bibtex input from some 1500 references to the used ones, but still with ~400 references pandoc-citeproc seems not to come to an end in processing. Given the fact that it is not possible to further strip down the number of bibtex-entries it would be nice if there could be some other way to handle such bibliographies.
I could have went by with conversion on a chapter basis, but with an input of ~400 entries it even didn't come to an end for a chapter with only 25 references. (I stopped it after some 15min at 100% cpu.)
Besides theses and other scientific books,
pandoc
would also come in handy for the production of bibliographies in a number of formats. E.g. something along the line of\nocite{*} with a given
bibtex`-input. However, for annual reporting schemes one easily hits several hundreds of publications. #71 does not seem to gain enough here.I tried pandoc 1.15.1 on linux.
The text was updated successfully, but these errors were encountered: