The extra flag is easy to pass so not a big deal, but I don't see how it is 
significantly different then the way --icons works for a2x. 

Examples: 

a2x -f xhtml --icons source.txt
works great the icons are copied over so the generated html file can use 
them. This uses the "default" icons that come with asciidoc

a2x -f xhtml --icons *--icons-dir=*/path/to/icons source.txt
works the same as above but you can supply your own icons.

I think this should also work (without passing dblatex flags, since we 
already know that we want to include icons)
a2x -f pdf --icons source.txt

This should work too in order to override the icons

a2x -f pdf --icons *--icons-dir=*/path/to/icons source.txt

Maybe these work with fop, but they don't work with dblatex, unless I'm 
missing something. Though this is a small issue, and now that I know how to 
properly include the icons in a pdf with dblatex not of a huge concern to 
me.

Thanks for AsciiDoc, it is really fantastic!

On Wednesday, June 6, 2012 4:22:48 PM UTC-7, Lex Trotman wrote:
>
> [...] 
> > 
> > It would be great if a2x passed that option to dblatex when the --icons 
> > option is used. 
> > 
>
> Hi, 
>
> Thanks for the info. 
>
> I don't think having a2x generate the -I is a good idea since a user 
> may want to use their own icon location(s) and they would not want the 
> asciidoc one there as well. 
>
> Cheers 
> Lex 
>
> > On Wednesday, July 27, 2011 1:25:12 AM UTC-7, candido wrote: 
> >> 
> >> Thanks, 
> >> 
> >> Now i understand it. I need edit /usr/local/etc/asciidoc/dblatex/ 
> >> asciidoc-dblatex.xsl stylesheet file or passed a custom xsl file to 
> >> a2x wrapper with --dblatex-opts . The default admonition pdf output is 
> >> like dblatex admonitions appendix manual configuration. 
> >> 
> >> Cheers, 
> >> Cándido 
> >> 
> >> 
> >> On 27 jul, 01:03, Lex Trotman <ele...@gmail.com> wrote: 
> >> > On 27 July 2011 02:21, candido <canara...@gmail.com> wrote: 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > > Hi, 
> >> > 
> >> > > i have installed asciidoc from mercurial repository on ubuntu 
> 10.04. I 
> >> > > have run all tests and only i have problem with epubcheck java 
> test. 
> >> > 
> >> > > i have edit asciidoc sources with images, admonitions icons and 
> >> > > callouts. No problems with html backend rendering with asciidoc(1) 
> >> > > command. 
> >> > 
> >> > > when i have try pdf output, with: 
> >> > 
> >> > > a2x -L --icons-dir=/usr/local/etc/asciidoc/images/icons -a 
> imagesdir=/ 
> >> > > usr/local/etc/asciidoc test.asciidoc 
> >> > 
> >> > > the admonitions icons was no rendered. 
> >> > 
> >> > > i have tried moving icons to ./images/icon and run a2x with --icons 
> >> > > option and the result is the same. 
> >> > 
> >> > > i have tried also understand the verbose a2x output and there is 
> not 
> >> > > references to icons location. 
> >> > 
> >> > The icons, iconsdir attributes only apply to asciidoc HTML.  When you 
> >> > generate PDF the callouts are rendered by the backend, dblatex in 
> your 
> >> > command above. 
> >> > 
> >> > You should look at what options dblatex has for rendering callouts. 
> >> > 
> >> > Cheers 
> >> > Lex 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > > ¿ some help idea? 
> >> > 
> >> > > Thanks 
> >> > > Candido 
> >> > 
> >> > > -- 
> >> > > You received this message because you are subscribed to the Google 
> >> > > Groups "asciidoc" group. 
> >> > > To post to this group, send email to asciidoc@googlegroups.com. 
> >> > > To unsubscribe from this group, send email to 
> >> > > asciidoc+unsubscr...@googlegroups.com. 
> >> > > For more options, visit this group 
> >> > > athttp://groups.google.com/group/asciidoc?hl=en. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "asciidoc" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/asciidoc/-/Ri3hKfDlvO0J. 
> > 
> > To post to this group, send email to asciidoc@googlegroups.com. 
> > To unsubscribe from this group, send email to 
> > asciidoc+unsubscr...@googlegroups.com. 
> > For more options, visit this group at 
> > http://groups.google.com/group/asciidoc?hl=en. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/r19jEt10aC4J.
To post to this group, send email to asciidoc@googlegroups.com.
To unsubscribe from this group, send email to 
asciidoc+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to