Re: [O] Export width for generated SVG image?

2013-03-26 Thread John Hendy
On Tue, Mar 26, 2013 at 3:16 PM, Ken Williams
ken.willi...@windlogics.com wrote:
 I’m using a ‘dot’ section to create an SVG image, then exporting my document
 to HTML:

[deleted]

 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:

[deleted]

 Any suggestions?

This works for me on version 8.0-pre

#+attr_html: :width 100%
[[image.svg]]

Are you using the new exporter or old? I believe the old syntax would have been:

#+attr_html width=100%
[[image.svg]]

But try with and without quotes (I can't check for the old exporter
syntax on my setup anymore... well, I /could/ but that's a lot of
work!).


John


 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.



Re: [O] Export width for generated SVG image?

2013-03-26 Thread Ken Williams


 -Original Message-
 From: John Hendy [mailto:jw.he...@gmail.com]
 Sent: Tuesday, March 26, 2013 3:49 PM

 Are you using the new exporter or old? I believe the old syntax would have
 been:

 #+attr_html width=100%
 [[image.svg]]

Beautiful, thanks.

 -Ken




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.