Closed matthewlloyd closed 3 years ago
Yes, you're right, sorry for this. At this stage I do not properly support the recent versions of pandoc (and pandoc-types).
The why : the json serialization of the recents versions of pandoc (the original Haskell program) are not as consistent at the moment as they used to be. So at this stage I cannot (automatically, from the info available in the pandoc types hierarchy) correctly read or write json data for pandoc.
I have reported this issue upstream https://github.com/jgm/pandoc-types/issues/75 and I hope that it will be sorted out. In the meantime, I should get the unsupported versions out of the supported list, so that at least you have a decent (and early) error message.
Thanks for the issue !
@matthewlloyd
I have rollbacked support for pandoc 2.10.x for the moment. If you try again, you should get:
>>> import pandoc
>>> pandoc.read("Hello, world!")
Traceback (most recent call last):
...
ValueError: pandoc 2.10.1 is not registered
Many thanks for the information, and for the great Python package. I'll downgrade my pandoc and carry on as normal until the upstream repo sorts out the type incongruity.
The 2.10.x versions of pandoc are still not supported (for the reasons explained in https://github.com/jgm/pandoc-types/issues/75), but the more recent versions (2.11.4 being the latest at the moment) should be fine. Otherwise, it's a bug !
I'm hitting an incompatibility between this library and pandoc 2.10.1 when parsing a simple table with a single row and cell, see the error below.