On 20 March 2013 18:51, RichardH <[email protected]> wrote:
>
>      I'm generating html from AsciiDoc. I would like to add a
>      new icon (a frog) to the Admonition Paragraphs.
>
>     So I put my frogs.png in   ../doc/images/icons/
>     and editted FROGS into my ascidoc.conf
>     thus
>         [paradef-admonition]
>
> delimiter=(?s)^\s*(?P<style>NOTE|TIP|IMPORTANT|WARNING|CAUTION|FROGS):\s+(?P<text>.+)
>         template::[paragraph-styles]

Hi Richard,

I'm tempted to say it the taste filter, FROGS indeed :)

But actually, did you also define a FROGS-style in [paragraph-styles]?

Also is ../doc/images/icons your defined {iconsdir}?

Cheers
Lex

>
>     That does give the admonition in the final html. But no icon
>
>     Pasted in below are bits of the htmls resulting from FROGS: and from
> NOTE:
>
>     The admonition from NOTE has the line
>         <img src="./images/icons/note.png" alt="Note" />
>
>     FROGS admonition doesnt
>
>     Thank you in advance for your help
>     Richard H
>
> Extracts of the html resulting from NOTE:-
>         <div class="admonitionblock">
>         <table><tr>
>         <td class="icon">
>         <img src="./images/icons/note.png" alt="Note" />
>         </td>
>         <td class="content"><em>Mises à jour en suspense.</em> <br />
>          <em>(Webmeister parti en randonnée)</em></td>
>         </tr></table>
>         </div
>
> Extracts of the html resulting from FROGS:
>         <div class="admonitionblock">
>         <table><tr>
>         <td class="icon">
>         </td>
>         <td class="content"><em>Mises à jour en suspense.</em> <br />
>          <em>(Webmeister parti en randonnée)</em></td>
>         </tr></table>
>         </div>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to