Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images for fodp is not working. #44

Open
elek opened this issue Jun 19, 2014 · 2 comments
Open

Images for fodp is not working. #44

elek opened this issue Jun 19, 2014 · 2 comments

Comments

@elek
Copy link

elek commented Jun 19, 2014

To reproduce:

  • add the following to the examples/asciidoc-odp-test.asciidoc
== Slide image
[width="50mm",height="50mm",align="right"]
image::dag-professional-250.jpg[Photo]
  • asciidoc -b odp asciidoc-odp-test.asciidoc
  • libreoffice asciidoc-odp-test.fodp

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
Copy link
Author

elek commented Jun 19, 2014

Update:

The same file works well with the odt backend.

@dagwieers
Copy link
Owner

dagwieers commented Aug 11, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants