Open rockyallen opened 8 years ago
Canvas actually draws it, right? It doesn't just embed an image? I'll investigate it further, but it doesn't look like something we'll be able to deal with anytime soon.
Not sure about the technical details, but a canvas is an invisible rectangular container that you can add graphics and text to, so that they move around a a group.
Well, it looks like there are two sepate issues here:
Thanks for your help on this, Jesse
rockyallen notifications@github.com writes:
Not sure about the technical details, but a canvas is an invisible rectangular container that you can add graphics and text to, so that they move around a a group.
You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/jgm/pandoc/issues/2792#issuecomment-197528820
Thanks. The issue as a whole isn't solved yet, but I've made some progress. With commit 28c7617f19c4d6dd69e2aa9c904af13e11e4e639, we can now output one image properly. Multiple images grouped with canvas are still a work in progress.
Saved as strict docx. pandoc 1.16.0.2, Windows 7, MS Word 2013. Command:
Output:
Canvas is entirely ignored. --extract-media also ignores the canvas. Ideally it would create a single image from the whole canvas, or treat the individual elements as separate images.
canvas.docx