SVG in mathexpressions without style information

0 votes
asked Jul 24, 2018 in Bug by Herrmel
I just started using plantuml for a documentation website and noticed the svg generated from plantuml has no style informations like every other diagramm leading to browsers using the default size (300x150px in Chrome) and cutting off the remaining content bigger than the default. Also the browser doesnt show a picture in the SVG live preview but it shows the XML in Chrome or nothing at all in Edge. Example: http://www.plantuml.com/plantuml/svg/SoWkIImgoKqioU1AqoZHjDL8Z3VGr3TIq5OeBisDryYpDTICoyzFZCzBpY_MqCWho2pHrFVHr4QML4YApujHACxCGyXpEQJcfO0C1G00
plantuml text:
@startmath
f(t)=(a_0)/2 + sum_(n=1)^ooa_ncos((npit)/L)+sum_(n=1)^oo b_n\ sin((npit)/L)
@endmath

The "Generated by Batik Graphics2D SVG Generator" comment may lead to some sort of bug with that tool?

1 Answer

0 votes
answered Jul 27, 2018 by plantuml (294,960 points)
 
Best answer
Thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Regards,
commented Jul 30, 2018 by Herrmel
Thank you :)
...