I ran into the same issue but only had to pass the path to the icons used by asciidoc to the dblatex command through the --dblatex-opts using the "I" paramater and the path to the icons.
Here is my full a2x command for pdf generation that uses the same admonition icons as the a2x --icons paramater does when outputing xhtml a2x -v -f pdf --icons -D /cygdrive/c/Docs/Output/PDF --asciidoc-opts='-a lang=en -v -b docbook -d book' --dblatex-opts='-V -T db2latex -I /etc/asciidoc/images/icons' test.txt" Just adding this in hopes that someone else might find it useful, not to correct any information. It would be great if a2x passed that option to dblatex when the --icons option is used. 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 <[email protected]> wrote: > > On 27 July 2011 02:21, candido <[email protected]> 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 [email protected]. > > > To unsubscribe from this group, send email to > [email protected]. > > > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
