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

Allow Image Title to be centered with Image #418

Open
georgeraraujo opened this issue May 5, 2022 · 0 comments
Open

Allow Image Title to be centered with Image #418

georgeraraujo opened this issue May 5, 2022 · 0 comments

Comments

@georgeraraujo
Copy link

Hi,
I'd like Asciidoctor EPUB to allow for the image title to be centered with the image.

I did my tests with Asciidoctor EPUB3 1.5.1 using Asciidoctor 2.0.17. I applied the workaround described in asciidoctor/asciidoctor#857 to the MWE that follows but, as described in asciidoctor/asciidoctor#857 (comment) , it only works for HTML. Here's the source code for the MWE:
mwe.zip

I ran these commands:

asciidoctor                                     mwe.adoc
asciidoctor-epub3                     -D output mwe.adoc
asciidoctor-epub3 -a ebook-format=kf8 -D output mwe.adoc

HTML output:
screenshot-firefox-91 8 0esr

EPUB output viewed in Calibre 5.42.0 running on Windows:
screenshot-calibre-5 42 0

Kindle output viewed in Kindle Paperwhite 3 (2015) 7th Gen running firmware 5.14.3:
screenshot-kindle-5 14 3

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