sinlin
sinlin - SVG preprocessor, that can add data from .ods files to SVG
If input SVG file has tag with attribute "$x" and input .ods file has diapason named "x" (with n cells), in output file this tag will be copied n times with corresponding value of its attribute.
Other functions (that not need .ods data):
"$x, y, z" - Array with values x, y, z;
"$x; y; z; n" - Arithmetic Progression
"$[x]^2+3" - Expression
Example:
Range x in .ods file:
[1, 2, 3, 4, 5]
Source
<svg>
<g attr="$x" attr1="$[1;1;5]" attr2="$1, 2, 3, 4" >
</svg>
Out:
<svg>
<g attr="1" attr1="1...