dagwieers / asciidoc-odf

ODF backend for AsciiDoc
98 stars 26 forks source link

Images for fodp is not working. #44

Open elek opened 10 years ago

elek commented 10 years ago

To reproduce:

== Slide image
[width="50mm",height="50mm",align="right"]
image::dag-professional-250.jpg[Photo]

Result: Modal error dialog in LibreOffice "GeneralError: General Input/Output Error"

I would debug the problem toward, but I can't find a method how the original exception of the libreoffice could be displayed (log? command line parameters?)

When I remove the image from the fodp it works, but when I replace the image with an other one from a working fodp it does not.

elek commented 10 years ago

Update:

The same file works well with the odt backend.

dagwieers commented 7 years ago

@elek I assume that there is a syntax error in de FODP file. Can you try to validate the XML syntax ?

This is what I do inside my Makefiles:

    syntax:
    #       xmllint --noout --relaxng relaxng/OpenDocument-v1.2-os-schema.rng curriculum-vita e-dag-wieers.fodt
             jing -i relaxng/OpenDocument-v1.2-os-schema.fodt.rng $@

Both xmllint and jing are fine, although I nowadays prefer jing.