Hello Yann,

I developed those filters 3 years ago and the option processing was working 
with the AsciiDoc version of that time which was 8.6.6. I tested today and 
using 8.6.6 all works beautifully. However I can confirm that version 8.6.9 
for example will not pass the options to the filters. So it appears that 
along the line AsciiDoc lost its capability to pass options to filters. The 
core filters do not use options so that may explain why this does not show 
up in regression testing.

I suggest to go back to version 8.6.6 until a fix is available.

Henrik


On Sunday, 7 September 2014 10:10:13 UTC+10, Yann E. MORIN wrote:
>
> Lex, All, 
>
> On 2014-09-07 09:22 +1000, Lex Trotman spake thusly: 
> > On 6 September 2014 22:23, Yann E. MORIN <[email protected] 
> <javascript:>> 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