Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > The method you suggested above - setting id - works (all tests done in > Chrome). Mine are in Firefox. > But setting id-values is cumbersome, because you need to do it > for every file. > It is also possible to set a CSS class similarly, that is, modifying > your example

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Jarmo Hurri
Jarmo Hurri writes: > Christian Moe writes: >> #+html_head_extra: #svgfig {width: 200px; } >> >> #+attr_html: :id svgfig >> [[path/to/image.svg]] >> >> For this to work, the SVG needs to be written to be scalable (with >> viewport set etc.). > > (Also addressed this in the other thread; al

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Jarmo Hurri
Christian Moe writes: > Jarmo Hurri writes: >> Does anyone have any idea of how to scale an SVG figure produced by Org >> (Asymptote)? The exported HTML is >> >> >> >> Sorry, your browser does not support SVG. >> >> > > You can scale the SVG by scaling the element's container, > i.e. the wi

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > Greetings. > > Does anyone have any idea of how to scale an SVG figure produced by Org > (Asymptote)? The exported HTML is > > > > Sorry, your browser does not support SVG. > > (Suggested an answer on another thread. For completeness:) You can scale the SVG by scalin

[O] Scaling HTML-exported SVG

2016-07-22 Thread Jarmo Hurri
Greetings. Does anyone have any idea of how to scale an SVG figure produced by Org (Asymptote)? The exported HTML is Sorry, your browser does not support SVG. and the SVG file begins with I have tried various approaches in my CSS, but nothing has worked so far. I have searched online,