epub and mobi version show wrong admonition icon

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

epub and mobi version show wrong admonition icon

tuhlmann
I'm hitting another problem rendering the epub3 and mobi versions.

In my main adoc file I added:

:icons: font
:icon-set: fa

in order to use admonition icons. In my document I use `TIP:` which renders nicely into a lightbulb in pdf and html.
In epub and mobi however I see a bitcoin icon:



I checked that in Apple iBooks, Calibre and Kindle (on Mac). The html for the tip in the epub archive is:

<aside class="admonition tip" title="Tip" epub:type="help">

The assorted-icons and fontawesome-icons fonts are included in the archive, however the included fa font doesn't seem to include a lightbulb, the assorted-icons font does.

I'm using `asciidoctor-epub3-1.5.0.alpha.6` with standard styles, no modifications.

I'm sure I'm doing something wrong, just can't seem to find it.

Thanks for your help,
Torsten.
Reply | Threaded
Open this post in threaded view
|

Re: epub and mobi version show wrong admonition icon

mojavelinux
Administrator
Torsten,

This was a design decision. We choose the bitcoin icon for tip instead of the lightbulb to match the EPUB3 styling better.


You can configure this choice by altering the CSS (see https://github.com/asciidoctor/asciidoctor-epub3#about-the-theme).

-Dan

On Wed, Mar 16, 2016 at 12:25 PM, tuhlmann [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I'm hitting another problem rendering the epub3 and mobi versions.

In my main adoc file I added:

:icons: font
:icon-set: fa

in order to use admonition icons. In my document I use `TIP:` which renders nicely into a lightbulb in pdf and html.
In epub and mobi however I see a bitcoin icon:



I checked that in Apple iBooks, Calibre and Kindle (on Mac). The html for the tip in the epub archive is:

<aside class="admonition tip" title="Tip" epub:type="help">

The assorted-icons and fontawesome-icons fonts are included in the archive, however the included fa font doesn't seem to include a lightbulb, the assorted-icons font does.

I'm using `asciidoctor-epub3-1.5.0.alpha.6` with standard styles, no modifications.

I'm sure I'm doing something wrong, just can't seem to find it.

Thanks for your help,
Torsten.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/epub-and-mobi-version-show-wrong-admonition-icon-tp4526.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
Reply | Threaded
Open this post in threaded view
|

Re: epub and mobi version show wrong admonition icon

tuhlmann
Thanks for the explanation!