On 18 June 2011 23:41, Jim Robinson <[email protected]> wrote:
> Thanks very much.  I'm hunting around and I don't see a list of the
> attributes
> that get defined, is there one?
>
> Following your direction and reading up on section 18, I am now at this
> point:
>
> ifdef::backend-docbook[]
> [caption="A4D Database Schema"]
> image::a4d_schema.png["A4D Database
> Schema",pass:basebackend-html[width="1024"],scaledwidth="100%",link="a4d_schema.png"]
> endif::backend-docbook[]
>
> ifndef::backend-docbook[]
> [caption="A4D Database Schema"]
> image::a4d_schema.png["A4D Database
> Schema",width="1024",link="a4d_schema.png"]
> endif::backend-docbook[]
>
> which does what I want.  I was hunting around for attribute names because I
> was curious whether or not backend-html was defined, or backend-manpage,
> etc., for the target output.
>
> I haven't been able to figure out how to use something like
>
>   pass:backend-docbook[...]
>
> to collapse the above into a single image callout, as I need to check either
> for the existence of an html production or the non-existence of a pdf
> production.
>
> Jim

ATM the a2x final output, the -f option setting, is not available to
asciidoc.  I've posted a suggested patch to add it as the {format}
attribute, but for the moment you will need to do it manually.

Or add the patch from
http://groups.google.com/group/asciidoc/browse_thread/thread/3e177b84bc133ca9

Cheers
Lex

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

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