Lex, All,

On 2014-09-07 09:22 +1000, Lex Trotman spake thusly:
> On 6 September 2014 22:23, Yann E. MORIN <[email protected]> wrote:
[--SNIP--]
> > However, the options are still not passed to the filter:
> >
> >     ["aafigure",format="png",options="textual"]
> >     ----
> >     oooo
> >     ----

BTW, while at it: Would it be possible that, when the output format is
'text', the block is not rendered at all, and just passed as-is to the
output?

Currently, the block is simply replaced by the name of the image (or
ignored for me, since I have:  [image-blockmacro] {empty} in my
configuration.)

> > Should just generate a run of four 'o' characters, but still the
> > aafigure filter is not passed the 'textual' option.
> >
> > Here is a strace log:
> >
> >      strace -ff -o strace/a2x.log -s 4096 -- a2x --xsltproc-opts \
> >             "--stringparam toc.section.depth 1" -f xhtml -d book \
> >             -L -r images -D manual manual.txt --asciidoc-opts="" -v
> 
> BTW, Options go before the filename, then -v would print the command
> that was run and you wouldn't need the strace to see it :)

Ah, nice to know. Thanks! :-)

> I can't see any other filters that use the options=... syntax, and the
> Asciidoc documentation says the options are available in markup, not
> explicitly that they will be available in the filter command, so
> possibly it never worked.

Oh. This is sad news, if that's the case... :-/

> You should contact the aafigure maintainer to verify the filter works
> with the version of asciidoc you are using.

Well, I was hoping he would be lurking around here! ;-)

I now contacted him. If/when I have an answer, I'll be sure to keep the
list informed about the outcome.

Thanks again for your help! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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