ReScience-submission
ReScience-submission copied to clipboard
pandoc-crossref filter out of date
In my initial attempts at c03fe28 I was using the latest version of pandoc-crossref (0.1.6.3) and getting this error:
pandoc-crossref: Error in $[6][0]: When expecting a product of 3 values, encountered an Array of 2 elements instead pandoc: Error running filter /root/.cabal/bin/pandoc-crossref
Apparently this error gets thrown when the filter is designed for a different version of pandoc-types. I solved the issue by using an earlier version of pandoc-crossref (0.1.5.6). Anyway, I think the filter needs to be updated.
Thanks. Do you how to fix it ? Can you make a PR ?
I do not know how to fix it. I would have to learn more about pandoc filters.
Just succeeded using both version. This was with pandoc 1.15.2.1 (from cabal).
I think it works if people install the full haskell stack to compile pandoc-crossref. That's a lot of dependencies to compile a paper.
I did not realize pandoc-crossref would be a problem. Maybe we can revert to simpler solution such as pandoc-fignos, pandoc-tablenos and pandoc-eqnos.
@tpoisot But in any case, only the author (or maybe only the editor) has to compile the paper. For example, in the current submission, I think there might be a misunderstanding since the author provides a makefile to build the PDF while it is not required.