Reputation: 2299
I got this error when converting a ipynb file to latex. Looks like there's a hardcoded upper bound on pandoc in nbconvert. Is there any reason why it would work with the latest version?
nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1). Your version must be at least (1.12.1) but less than (2.0.0).
Upvotes: 1
Views: 1008
Reputation: 22544
Many command line options have changed between pandoc v1.* and pandoc v2, e.g. --smart
is no longer recognized as pandoc uses a finer-grained mechanism now. In general, it seems like a good idea to limit the acceptable version.
That being said, nbconvert seems to only use options which have not changed; it is probably save to bump the upper version bound.
Upvotes: 1