emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Export width for generated SVG image?


From: Ken Williams
Subject: [O] Export width for generated SVG image?
Date: Tue, 26 Mar 2013 20:16:05 +0000

I’m using a ‘dot’ section to create an SVG image, then exporting my document to HTML:

 

#+BEGIN_SRC dot :exports results :file process-diag.svg

digraph {

  "foo.rds" -> "foo.csv";

  ...

}

#+END_SRC

 

My diagram ends up pretty huge though, and I want to shrink it down.  ":width 1000" doesn’t seem to have any effect, nor does wrapping like so:

 

#+BEGIN_HTML

<div style="width:100%">

#+END_HTML

 

... dot diagram here ...

 

#+BEGIN_HTML

</div>

#+END_HTML

 

... because the interior SVG just overrides the width of its parent.

 

Any suggestions?

 

I’m using version 7.9.2-dist .  Thanks.

 

--

Ken Williams, Senior Research Scientist

WindLogics

http://windlogics.com

 




CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]