[pmwiki-users] cookbook SVG does not write "width"

Stephan Schildberg schildberg at scoid.de
Wed May 4 13:34:51 CDT 2005


Hello,

>
>
> %...% markup isn't additive, it replaces whatever was defined before. 
> (I'm not 100% sure whether that still holds if various types of %...% 
> markup like inline, block, list etc. are involved, but it's definitely 
> true for multiple definitions like the above one.)
>
> IOW the %height=800% markup entirely replaces the %width=800% one.
>
> But you can give multiple attributes within a single %...% attribute. 
> I.e. Instead of
>
>   %width=800%  %height=800%
>
> use
>
>   %width=800 height=800%
>
> BTW it's a good idea to reset such settings if they aren't used 
> anymore. They remain in effect until the end of the paragraph or the 
> next %...% markup, whichever comes first, and an empty %% will simply 
> overwrite the current attribute set with an empty set.
>

Can we change the example of the  cookbook/svg description?


     Example

%width=700%  %height=300% http://server/dir/test.svg

to


     Example

%width=700  height=300% http://server/dir/test.svg


????

thanks to Patrick and  Joachim


regards, Stephan.






More information about the pmwiki-users mailing list