Closed
Description
In a build for manubot/rootstock#82, I'm getting the following error:
File "/home/appveyor/miniconda/envs/manubot/lib/python3.7/site-packages/pandoc_eqnos.py", line 213, in _add_markup
return ret
UnboundLocalError: local variable 'ret' referenced before assignment
The corresponding pandoc-eqnos function is:
Lines 178 to 213 in 6341171
We're specifying pandoc's --to=jats
, which does not appear to be supported by this function. Should there be a final else to capture unsupported formats and either:
- provide a more clear error message
- issue a warning that pandoc-eqnos does not support JATS, but proceed such that the pandoc command does not fail