-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Pandoc version 1.11.1
libreoffice 4.1.3.2
on Debian testing (jessie)
libreoffice is unable to open odt files produced by pandoc if they contain more than 1 image.
Test case:
echo '<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" version="1.1"/>' >img1.svg
echo '
' >test.md
pandoc -o test.odt test.md
soffice test.odt
libreoffice opens and presents a dialog box reading:
Read-Error.
Error reading file
The issue disappears if the image included only once.
The issue is still present when:
- Two different images are included rather than the same one twice
- The image is in PNG format instead of SVG.
I have not yet tested with Pandoc 1.12.1 as I am having difficulty building it.
I do not know if this is technically a libreoffice or a pandoc issue, either way I think it's important that pandoc produces ODTs that libreoffice can open as that is what the majority of people will be using to open the ODTs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
