chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
29 stars 4 forks source link

pdf2svg missing function called #231

Closed Alex-Corner closed 2 months ago

Alex-Corner commented 3 months ago

The commit 2c555d4 updated the renderer for pdf2svg, but removed the import for the function Image from plasTeX.Images. Image is still called on Line 32 of 2c555d4 and I think this is causing the error NameError: name 'Image' is not defined when loading .pdf files as graphics in Chirun builds.

christianp commented 3 months ago

Whoops, sorry! I'm on holiday today but I'll try and get it fixed ASAP. We really do need some unit tests.