[NTG-context] beta

Floris van Manen vm at klankschap.nl
Mon Oct 28 22:00:23 CET 2019



On 28-10-2019 19:20, Hans Hagen wrote:
> 
> As a teaser ... it is also possible to embed svg code, as in:
> 
> \startbuffer[svgtest]
> <svg>
>     <circle
>         cx="50" cy="50" r="40"
>         stroke="green" stroke-width="10" stroke-opacity="0.3"
>         fill="red" fill-opacity="0.3"
>     />
>     <circle
>         cx="150" cy="50" r="40"
>         stroke="green" stroke-width="10"
>         fill="red"
>         opacity="0.3"
>     />
> </svg>
> \stopbuffer
> 
> \startTEXpage
>     \includesvgbuffer[svgtest]
> \stopTEXpage
> 
> \startTEXpage
>     \includesvgbuffer[svgtest][offset=2bp]
> \stopTEXpage

Nice !
It seems that it does not retains the <g> grouping and layering in
place. e.g. everything ends up in one layer and one group.

.Floris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2456 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191028/e0c5f395/attachment.key>


More information about the ntg-context mailing list