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

Support images with absolute paths #465

Open
someth2say opened this issue Feb 22, 2024 · 0 comments
Open

Support images with absolute paths #465

someth2say opened this issue Feb 22, 2024 · 0 comments

Comments

@someth2say
Copy link
Contributor

someth2say commented Feb 22, 2024

AsciiDoctor documentation states that The value of imagesdir can be an absolute path, relative path or URL.

Nonetheles, using an absolute path causes the image to not be included in the ePub file.

Reproducer: If the following imagesdir.adoc file and the image.svg are in /tmp

= Book
:imagesdir: {docdir}

image::./image.svg[]

Causes raises the following error:

asciidoctor: ERROR: imagesdir.adoc: media file not found or not readable: /tmp/tmp/image.svg
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