Assuming this asciidoc text:

== Introduction

.Optional Note Topic
NOTE: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do 
eiusmod tempor incididunt ut labore et dolore magna aliqua.  Lorem ipsum 
dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor 
incididunt ut labore et dolore magna aliqua.

These commands produced artifacts with icons (using FOP rather than 
dblatex):

$ a2x -v -f pdf -d book -a docinfo --icons-dir=./images/icons --fop book.asc

$ a2x -v -f epub -d book -a docinfo --icons-dir=./images/icons --fop 
book.asc

Unfortunately, the optional topic (.Optional Note Topic) wasn't included in 
either.

If I reference the icons in the asciidoc distriubtion:

$ a2x -v -f pdf -d book -a docinfo 
--icons-dir=/usr/local/etc/asciidoc/images/icons --fop book.asc

$ a2x -v -f epub -d book -a docinfo 
--icons-dir=/usr/local/etc/asciidoc/images/icons --fop book.asc

The PDF renders (still without .Optional Note Topic), but the epub command 
gives me an error that reads: a2x: ERROR: absolute resource file name: 
/usr/local/etc/asciidoc/images/icons/note.png

Hope this helps.

Craig

On Wednesday, February 1, 2012 4:06:00 AM UTC-6, Tony wrote:
>
> Hi, 
>
> Just new to asciidoc. Great tool! 
> I read the user guide and search on the web, here and the asciidoc FAQ 
> but didn't find any answer to this issue. 
>
> I have a txt file where i can see icons (TIP, IMPORTANT) in the html 
> output with a2x. 
> According to the user guide I used the --icons-dir attribute that 
> point to the icons PATH 
> (/usr/local/etc/asciidoc/images/icons). 
> I don't see icons in the pdf output !! 
>
> Can anyone tell me what I'm doing wrong? Is there something else to do 
> that is not documented? 
>
> Thank you for your answer. 
> FD 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to