Am 20.10.2012 05:34, schrieb Stuart Rackham:


On 20/10/12 00:19, Lex Trotman wrote:


On 19 October 2012 21:04, Wilhelm <[email protected]
<mailto:[email protected]>> wrote:

     Am 19.10.2012 11:56, schrieb Lex Trotman:



         On 19 October 2012 17:28, Wilhelm <[email protected]
         <mailto:[email protected]>
         <mailto:[email protected]
         <mailto:[email protected]>__>> wrote:

             Hi,

             is there a general way to set the admon-graphics format to .svg?


         It varies with backend. There is no general way.

         Please always include which version of asciidoc and which
         backend in all
         questions.


     8.6.8.

     slidy/slidy2/xhtml11


As I said there is not a built in way to do it.

For both slidy and xhtml you need a custom asciidoc.conf in the document
directory or http://www.methods.co.nz/asciidoc/userguide.html#X27 item
5. (slidy uses xhtml.conf so the same change works for both)

Copy just the [admonitionblock] section from the system xhtml11.conf and
change the .png occurances and the data:image/png if you are embedding
the image.

Thanks, that works!

In general it would be helpful if one could specify the preferred graphics format.


You could also manually set the 'icon' attribute in your source code see:

http://www.methods.co.nz/asciidoc/userguide.html#X47

Cheers, Stuart



Slidy2 is an external plugin so I don't know, maybe the developer can
help you. It may work as above, maybe just try it first.

Cheers
Lex




         Cheers
         Lex

             --
             Wilhelm

             --
             You received this message because you are subscribed to the
         Google
             Groups "asciidoc" group.
             To post to this group, send email to
         [email protected] <mailto:[email protected]>
             <mailto:asciidoc@googlegroups.__com
         <mailto:[email protected]>>.

             To unsubscribe from this group, send email to
             asciidoc+unsubscribe@__googleg__roups.com
         <http://googlegroups.com>
             <mailto:asciidoc%[email protected]
         <mailto:asciidoc%[email protected]>__>.

             For more options, visit this group at
             http://groups.google.com/____group/asciidoc?hl=en
         <http://groups.google.com/__group/asciidoc?hl=en>
             <http://groups.google.com/__group/asciidoc?hl=en
         <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]
         <mailto:[email protected]>.
         To unsubscribe from this group, send email to
         asciidoc+unsubscribe@__googlegroups.com
         <mailto:asciidoc%[email protected]>.
         For more options, visit this group at
         http://groups.google.com/__group/asciidoc?hl=en
         <http://groups.google.com/group/asciidoc?hl=en>.



     --
     Wilhelm

     --
     You received this message because you are subscribed to the Google
     Groups "asciidoc" group.
     To post to this group, send email to [email protected]
     <mailto:[email protected]>.
     To unsubscribe from this group, send email to
     asciidoc+unsubscribe@__googlegroups.com
     <mailto:asciidoc%[email protected]>.
     For more options, visit this group at
     http://groups.google.com/__group/asciidoc?hl=en
     <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.



--
Wilhelm

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