Hello,

When I want to generate both html and pdf from asciidoc with graphics 
included I know that I can get the best of both worlds with conditions like 
:

ifdef::basebackend-html[] 
image::myfigure.png[width="100%"]
endif::basebackend-html[] 
ifdef::basebackend-docbook[] 
image::myfigure.pdf[width="15cm"]
endif::basebackend-docbook[] 

Now I want to generate epub also. But :
1 epub and pdf originate from the same basebackend-docbook
2 epub does not accept pdf 
3 using png in pdf output is not an option

Is there anything like ifdef::backend-epub[] / ifdef::backend-pdf ? 

Kind regards,

Guillaume

Guillaume

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