On 7 June 2012 09:42, Plecebo <[email protected]> wrote:
> 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.
>

In the cases above the work is done by a2x, not a separate toolchain
so we have complete control.


> 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.

The problem is that the user can also specify the -I for purposes
other than icons, so where in the order should the system generated -I
go?

(Note the Python argument parser does not keep the order of different
options so the position of --icons-dir relative to --dblatex-opts
can't be found).

And thanks again for sharing your solution.

Cheers
Lex

-- 
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 at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to